This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?