opensubscriber
   Find in this group all groups
 
Unknown more information…

r : rpc-user@xml.apache.org 18 February 2005 • 7:52AM -0500

Re: jetty with XML-RPC
by Massive Boisson

REPLY TO AUTHOR
 
REPLY TO GROUP




I'd love to know what is +1 mean?

Anyway, thanks for the reply. After reading documentation some more,
I guess this would make sense. And I could put the servlet into Jetty
(I am trying to have it run all in on JVM).

But what I really cannot find answer to now is following:

Let's say I do this:
org.apache.xmlrpc.WebServer.addHandler("myHandler", myHandler);
(I will try to start with webServer and only switch to XmlRpcServer &
servlet once I start seeing problems)

1. Now it opens a new thread for every incomming request?
--> (Yes it opens new thread for every incomming request)
2. But does it use one instance of myHandler, or does it create new instance
of myHandler for every request?
--> (It creates new instance of myHandler for every request)
Am I right with my ansers.

Thankfully,

--MB

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.