From the course: Java EE: Concurrency and Multithreading
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Java EE concurrency APIs
From the course: Java EE: Concurrency and Multithreading
Java EE concurrency APIs
- [Narrator] So now let us take a look at the Java Enterprise Concurrency API's. We already know that Executor, ExecutorService, and ScheduledExecutorService come from the Standard Edition platform. We have seen demos for that in our previous videos. Now when we look at the Enterprise Edition Concurrency Utilities, let's take a look. There is ManagedExecutorService, which is an extension to the ExecutorService and basically it is a managed version of the ExecutorService. Similarly you have ManagedScheduledExecutorService, which is now is going to be a managed version of ScheduledExecutorService. Then we had seen the ThreadFactory in the Standard Edition. So ManagedThreadFactory is a managed version of ThreadFactory. And then this ContextService, which is a very interesting API, utilized to create contextual proxies in the Enterprise application. All of these four API's that you see on the slide which are marked with the dotted blue sign form a part of the Enterprise Edition…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Need for Java EE concurrency4m 14s
-
(Locked)
Java EE concurrency APIs3m 52s
-
(Locked)
Set up a Java EE RESTful application8m 4s
-
(Locked)
Running and testing the Java EE RESTful application4m 47s
-
(Locked)
Important Java EE terms4m 4s
-
(Locked)
ManagedExecutorService (MES) overview3m 20s
-
(Locked)
Define the bank account related beans and DAO class3m 28s
-
(Locked)
Add methods in the DAO class10m 30s
-
(Locked)
Define ReportProcessor7m 42s
-
(Locked)
Write REST class for injecting MES objects6m 51s
-
(Locked)
Verify code and add the REST method8m 42s
-
(Locked)
Run and test the ManagedExecutorService application2m 59s
-
(Locked)
ManagedScheduledExecutorService overview2m 22s
-
(Locked)
Defining the URLProcessor for the thread's job6m 47s
-
(Locked)
Add a REST method to call the URLProcessor5m 20s
-
(Locked)
Important pointers and API overview6m 22s
-
(Locked)
ManagedThreadFactory API1m 26s
-
(Locked)
Create a single thread with ManagedThreadFactory6m 7s
-
(Locked)
ManagedThreadFactory with ThreadPoolExecutor7m 2s
-
(Locked)
ContextService API3m 7s
-
(Locked)
Create a contextual proxy9m 15s
-
-
-