Join Ketkee Aryamane for an in-depth discussion in this video Executor and ExecutorService, part of Java EE: Concurrency and Multithreading.
- [Narrator] Now let's start taking a look at the…Executor Framework Interfaces one by one,…and then we'll also do a demo for each one of them.…The first among them is the executor interface,…so that is the top most interface, and that…is going to help you execute a submitted task…with the single method execute.…It is very simple to actually try…to spawn a task with this execute method.…We'll see that in a minute.…It will help you submit runnable tasks,…so whenever you have created a thread…in the system you've said new thread,…and then you passed in the runnable instance,…and then you invoked the start method on it.…
So instead of that, it is very simple to…do this job with the executor interface.…You just have to say executor dot execute and…parse in your runnable instance.…Let's quickly take a look at the demo.…Let's come back to the IDE.…And that was the test runnable class, right?…Where we created an instance of…the runnable using the lamda, and then…we created an instance of the thread class.…Right? And then over that we said start.…
- 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 Advanced
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.