Join Ketkee Aryamane for an in-depth discussion in this video Define the bank account related beans and DAO class, part of Java EE: Concurrency and Multithreading.
- [Woman] Let's start the ManagedExecutorService demo now.…First we will do all the database interactions…and the things related to the data of the objects, right?…So the first thing is create a BankAccountDao class.…So let's head back to the IDE…and under the Dao folder,…I'm going to create a class.…BankAccountDao.…So this is the class which is going to do the…database interactions for us.…Next step will be create the BankAccount…and the BankAccountTransaction beans as per the tables.…
So if you look at the database.…I have the BankAccount table with these fields,…and the Transaction table with five other columns.…Do not worry about this.…The database script is already provided to you…in your exercise files.…So you will have all of this data ready with you…when you start off this demo.…So let's go to the IDE and create beans now.…Let's create one for BankAccount…to store all the BankAccount information.…And what will it have?…It will have an account number.…
Then it will have the name of the account holder.…The email of the account holder…
- 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.