aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Executors inside a container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Executors inside a container" Watch "Executors inside a container" New topic
Author

Executors inside a container

Askar Kalykov
Greenhorn

Joined: Nov 24, 2005
Posts: 2
Hi. I need to use ExecutorService inside my application.
Application is targeted to intensive usage and I want to take advantage of Java SE 5 concurrency.
How can I use Executors inside Web container? Can I create ExecutorService and put it to ServletContext?
How can I use Executors inside EJB container? Can I put it to JNDI?
Is there any restrictions or special conditions to do this?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Executors inside a container
 
Similar Threads
Dispatcher where some object is always processed by the same thread?
Manage timeouts on a method invoking?
Thread pool how to
Reusing threads created in last newCachedThreadPool
killing a Thread ?