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 Spring in Action this week in the Spring 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?
 
 
subject: Executors inside a container