Join Ketkee Aryamane for an in-depth discussion in this video Define UserDao and user beans, part of Java EE: Concurrency and Multithreading.
- [Narrator] Here we have the list of the steps…that we want to execute as a part of the demo.…We'll follow each of the steps one by one…and simultaneously of course we've called for it.…So the first step is you have to define…a user bean to store all user information.…So let's go on to the beans folder.…And create a Java class, let's call it user.…And let's give it attributes.…We've already seen the files.…So we know that there's an ID, email and a name.…So int id string name…string email address…and we'll immediately insert the code…for get her sitters, because we have…to stick to the encapsulation concept…of object oriented programming.…
So that's the first step.…Next is you have to define a class user dao…for all the database operations…and define a method in it to insert…user records in database.…So we said that we'll have a different class…for database interactions.…So let's go to the dao package…and create a class called user dao.…And this is going to have a method…public, let's say tra-donce mean integer…and the method is save user.…
- 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.