I need to create a project in Java5 using Future technology to make several EJB/Web service calls.
I worked through the tutorial that explains the different ways to do it.
It looks like ExecutorService is the easiest as it manages the threads for you but all the examples I found on the web create the pool/size manually.
final ExecutorService executor = Executors.newFixedThreadPool(10);
My program is running in a Web Logic container.
How do I instantiate the ExecutorService by using the existing Thread pool from the container?