The instantiation of a new object is a separate consideration from
multi-threading.  Another reply to this list addresses the question of
instantiation of service classes in Apache SOAP.  Multi-threading of
requests is handled by your servlet container.  Basically, the servlets that
are part of Apache SOAP that handle your requests will be instantiated once,
but are coded to be re-entrant and can have multiple threads executing code
in them simultaneously.  Assuming your service classes do not serialize
requests (by using synchronized blocks or methods), that same set of threads
will execute your service code simultaneously as well.

Scott

----- Original Message -----
From: "siddharth aggarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2001 1:04 AM
Subject: multithreaded soap server


Hi,
 There is some confusion regarding SOAP services. If a SOAP client calls a
SOAP service (RPC mechanism), is a new object of the service class
instantiated for each RPC or is a new thread spawned off at the server that
executes the remote procedure (the one called by the client)? I need to
build a SOAP service that can handle multiple client requests simultaneously
i.e. multiple clients call the same remote procedure simultaneously.
I am using jakarta-tomcat server talking to apache soap. I would like to
know whether I need to write the code of spawning a new thread in the server
side SOAP application or is it taken care of by apache soap implementation
itself.
Regards,
Siddharth


On Tue, 18 Sep 2001 siddharth  aggarwal wrote :
>But isn't glue a SOAP implementation (or is it a soap
>server)? I am already using Apache SOAP (I am
>comfortable with its API calls) and I am looking for a
>high performance multithreaded soap server (that talks
>to apache soap) where i can deploy web services.
>Regards,
>Siddharth.
>
>On Tue, 18 Sep 2001 graham glass wrote :
>>GLUE is free for most commercial uses.
>>download from: http://www.themindelectric.com
>>
>>cheers,
>>graham
>>
>>-----Original Message-----
>>From: siddharth aggarwal [mailto:sidaggarwal@rediffmail-
>.-
>>com]
>>Sent: Monday, September 17, 2001 11:22 PM
>>To: [EMAIL PROTECTED]
>>Subject: multithreaded soap server
>>
>>
>>Hi,
>>Can anybody suggest a multithreaded high performance
>>soap server to me in
>>java which is freeware? (At the moment I am using
>>jakarta-Tomcat server)
>>Regards,
>>Siddharth.
>>
>>
>>
>>
>>
>
>
>
>
>
>








Reply via email to