cancel
Showing results for 
Search instead for 
Did you mean: 

Is Multiple Http handlers are re-commended

former_member208564
Participant
0 Kudos

Dear All,

We have created an Http handler service using sicf and this will be used by the mobile application for online queries. Now i would like to know what is the best method of implementation. Please adress the following queries.

1. Is it better to implement one http handler for one query or same http handler with different methods in it (one for each query)?

2. If single http handler is implemented, what will happen if the number of concurrent requets are increased in the future?

3. Do we have any other points to be concidered while implementing http handlers?

Can you please sugget me, best method of implementation, so that it will be a great help.

Thanks and Regards,

Kiran.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Having single handler for all or one for each query is basically implentation decision wrt to ease in handling future changes, code brevity etc.

As far as runtime handling is considered it may not make much of a difference: as the web server will try to find out the suitable handler each time HTTP request is made and execute the request with that handler on the available work process. So if you are expecting large number of concurrent request, you need to have provision for corresponding work process requirements.

-

pradeep

Former Member
0 Kudos

Hi Kiran,

You can get information on HTTP handlers at the below link.

<http://wiki.sdn.sap.com/wiki/display/BSP/AdvancedBSPProgramming> (Chapter 3)

Regards,

Sachin