You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Orga <or...@gmail.com> on 2012/09/27 13:40:56 UTC

How to let a servlet has multiple instances

Hi,
I am using org.apache.felix.http.bundle which enable whiteboard and Jetty.
Then building a servlet bundle with OSGi Declarative Service.
The servlet will take about 10 seconds to process something.

Is it possible to create different instance when each http request come?
For example, When I send three the same http requests at the same time, the
Jetty server will create three instances to handle that.
For now, Jetty server looks like queue the requests and process one request
at a time.


-- 
Regards,
Orga