Join Ketkee Aryamane for an in-depth discussion in this video Limitations of using basic APIs, part of Java EE: Concurrency and Multithreading.
- [Narrator] Now that we have understood the thread…and the runnable APIs let us understand…the limitations that come along with it.…The thread or runnable APIs are…sufficient for low-level and basic tasks.…And don't forget, as a developer, you have…to create the instances of the threads and start them off.…So as a developer you are responsible…for creating and managing the threads…in the system or the application.…All of this logic of creation and management…of threads is in addition to the business logic…of the application that you anyway are supposed to code.…
Now, the multi-threading capability offers you…a chance to utilize the cores of the CPU effectively.…However, in order to support this completely we also…need to write an application with solid parallelism logic.…And there are a lot of factors that you…need to take into consideration when…you actually write out such logic.…For example, what are the jobs…that should be executed by threads?…When is a thread supposed to start its execution?…What happens when there is an error in the execution?…
- 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.