Join Ketkee Aryamane for an in-depth discussion in this video ContextService API, part of Java EE: Concurrency and Multithreading.
- [Instructor] Let's now take a look at the last of the APIs…and the Enterprise Edition concurrency utilities,…the ContextService API.…Before that let's quickly revise a couple of terms…we have used them before, here and there,…but let's take a look again.…The first one is, what is a contextual object?…So it is any Java object or instance…which will have the particular application…component's container context associated with it.…And when you talk about a contextual task…it is a task which is submitted to the managed resource.…
So when a task instance is submitted…to a managed instance of the ExecutorService…then the task becomes a contextual task.…And when the contextual task runs the task behaves…as if it were still running inside…the container it was submitted with.…When you have an application component…like Enterprise JavaBean or a servlet…then we know that the thread that is running…is going to have the contextual information…associated with it.…Now when you talk about the ContextService API…it is going to allow applications…
- What is concurrency?
- Processes and threads in Java SE
- Java EE concurrency APIs
- Working with the ManagedExecutorService, ManagedScheduledExecutorService, ManagedThreadFactory, and ContextService APIs
- Defining data access object (DAO) classes
- Adding methods to DAO classes
- Writing REST classes
- Creating custom thread factories
- Creating contextual proxies
- JTA transactions and concurrency
Skill Level Intermediate
Java EE: Contexts and Dependency Injectionwith Alex Theedom1h 43m Intermediate
Java EE: Design Patterns and Architecturewith Alex Theedom2h 44m Intermediate
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
1. Overview and Setup
2. Processes and Threads
3. Executor API
4. Java EE Concurrency APIs
5. Concurrency and Transactions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.