Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Executors inside a container  RSS feed

 
Askar Kalykov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!