Who Can Benefit
Students who can benefit from this course are EJB version 2.x technology business component developers who want to develop EJB technology applications using EJB version 3.0.
Prerequisites
- Display experience with developing EJB version 2.x applications
Skills Gained
- Implement business-tier functionality using EJB 3.0 technology
- Describe best practices and other advanced issues in business component development with EJB 3.0 technology
- Assemble and deploy EJB 3.0technology business-tier components on an application server
- Integrate an EJB component
Course Content
Module 1 - Examining Changes to the EJB Specification
- Review Java EE application architecture
- Examine the evolution of the EJB specification
- Examine the Java Platform, Enterprise Edition (Java EE) 5
Module 2 - Introducing the Auction Application
- Describe the auction application
- Define the domain objects of the auction application
- Describe the implementation model for the auction system
Module 3 - Implementing EJB 3.0 Session Beans
- Create a session bean
- Add life-cycle event handlers to a session bean
- Obtain a session context object
- Package and deploy session beans
- Create a session bean client
- Migrate an EJB version 2.x session bean to an EJB version 3.0 session bean
Module 4 - Implementing Entity Classes: The Basics
- Define entity classes
- Manage the life-cycle of an entity instance
- Package and deploy entity classes
Module 5 - Implementing Entity Classes: Modeling Data Association Relationships
- Examine association relationships in the data and object models
- Use relationship properties to define associations
- Implement unidirectional and bidirectional associations
Module 6 - Implementing Entity Classes: Modeling Inheritance Relationships
- Examining entity class inheritance
- Inheriting from an entity class
- Inheriting from an abstract entity class
- Inheriting from a non-entity class
- Inheriting using a mapped superclass
- Examine Inheritance mapping strategies
Module 7 - Using the Java Persistence Query Language (QL)
- Examine the Java Persistence query language
- Create and use Query objects
- Create and use the SELECT statement
- Create and use the BULK UPDATE statement
- Create and use the DELETE statement
Module 8 - Developing Java EE Applications Using Messaging
- Write a message producer
- Write an asynchronous message consumer
- Write a synchronous message consumer
Module 9 - Developing Message-Driven Beans
- Describe the properties and life-cycle of message-driven beans
- Create a JMS message-driven bean
Module 10 - Implementing Interceptor Classes and Methods
- Create a business interceptor method in the enterprise bean class
- Create an interceptor class
- Associate multiple business interceptor methods with an enterprise bean
- Include life-cycle callback interceptor methods in an interceptor class
- Create entity life-cycle callback methods
Module 11 - Implementing Transactions
- Implement container-managed transactions (CMT)
- Interact programmatically with an ongoing CMT transaction
- Implement bean-managed transactions (BMT)
- Apply transactions to messaging
Module 12 - Handling Exceptions
- Examine exception-related differences between EJB version 2.x and EJB version 3.0
Module 13 - Using Timer Services
- Create a timer callback notification
- Process a timer callback notification
- Manage timer objects
Module 14 - Implementing Security
- Examine Java EE authorization strategies
- Use declarative authorization
- Use programmatic authorization
Module 15 - EJB Version 2.x and 3.0 Interoperability
- Invoke an EJB 2.x session bean from an EJB 3.0 session bean
- Invoke an EJB 3.0 session bean using EJB 2.x interfaces




