Join Ketkee Aryamane for an in-depth discussion in this video Callables and futures, part of Java EE: Concurrency and Multithreading.
- [Narrator] So let's take a quick look…at the Executor framework hierarchy.…The first thing is all the Executor interfaces…will reside in the java.util.concurrent package.…That's the package for them.…And there are three main components.…Starting at the top, you have the Executor interface,…which is a basic interface.…And then, down there, you have…a subinterface, which is the ExecutorService.…Now this is the most crucial interfaces…that we generally use in applications.…And, to a further extension,…we have ScheduledExecutorService,…which is, again, a subinterface of ExecutorService.…
So, ScheduledExecutorService is exactly the one…which will allow you to schedule jobs…at regular intervals and all of that stuff.…Okay.…So we're going to look at the demos for each one of them.…But before that, let's all to understand…what are Callables and what are Futures.…Now, when we take the demo for thread…and the Runnable APIs, we actually define…the job of the thread inside the run method, right?…I'm sure you recollect that in the thread class…
- 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.