From the course: Java EE: Concurrency and Multithreading

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

ManagedExecutorService (MES) overview

ManagedExecutorService (MES) overview

- [Woman] Now that we have taken a look at basic APIs under the Concurrency platforming for Enterprise, let's start looking at the demos. How are you going to use these APIs in the use cases? So the first one is the Managed Executor Service. To just recollect, the Managed Executor Service extends the Java standard edition executor service, and it will help you with methods for submitting tasks for execution in a Java enterprise environment. And this managed executor service resource can be gotten into the code by means of the GNBI lookup or the resource annotation, or by configuring it in the deployment descriptor. Let me make it very clear that in this course we are going to stick to the GNBI lookup or the resource annotation injection mechanism for getting these managed executor objects. Let's now look at the use case. The use case that we've opted is generating reports for users. So let's say I have a list of bank accounts with me, and I have transactions against those bank…

Contents