Join Ketkee Aryamane for an in-depth discussion in this video Define the session bean class for database operations, part of Java EE: Concurrency and Multithreading.
- [Instructor] Now let's do the next step.…We have to create a TransactionBean…which is going to do those DB operations…against the respective tables.…The bank account transaction…and the bank account transaction log, right?…So let's go back to the IDE and under the…source packages, I'll add a package…and say com.app.ejbBeans.…So I'm going to create a stateless session Bean.…If you remember in our earlier videos…we talked about this concept.…It is basically a kind of enterprise Java Bean…which allows you to do independent operations…based on your request processing needs.…
So I'm just going to say finish.…And here I'll create a session Bean.…Let's name it TransactionBean.…Okay, and you do see it is already annotated…with the stateless annotation.…Let's also give this Bean a name.…So I'm going to say, bx Bean.…Now here, we have to define a couple of methods.…One, to save the bank account transaction information,…And the other, to save the bank account…transaction log information.…
So let's go ahead and start doing that.…
- 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.