Enterprise JavaBeans 3.0 Technology Update Workshop for Version 2.x Developers

3 Day Course
Code SL-352-EE5

This course has been retired. Please view currently available Java Training Courses.

Modules

Hide all

Examining Changes to the EJB Specification (3 topics)

  • Review Java EE application architecture
  • Examine the evolution of the EJB specification
  • Examine the Java Platform, Enterprise Edition (Java EE) 5

Introducing the Auction Application (3 topics)

  • Describe the auction application
  • Define the domain objects of the auction application
  • Describe the implementation model for the auction system

Implementing EJB 3.0 Session Beans (6 topics)

  • 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

Implementing Entity Classes: The Basics (3 topics)

  • Define entity classes
  • Manage the life-cycle of an entity instance
  • Package and deploy entity classes

Implementing Entity Classes: Modeling Data Association Relationships (3 topics)

  • Examine association relationships in the data and object models
  • Use relationship properties to define associations
  • Implement unidirectional and bidirectional associations

Implementing Entity Classes: Modeling Inheritance Relationships (6 topics)

  • 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

Using the Java Persistence Query Language (QL) (5 topics)

  • 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

Developing Java EE Applications Using Messaging (3 topics)

  • Write a message producer
  • Write an asynchronous message consumer
  • Write a synchronous message consumer

Developing Message-Driven Beans (2 topics)

  • Describe the properties and life-cycle of message-driven beans
  • Create a JMS message-driven bean

Implementing Interceptor Classes and Methods (5 topics)

  • 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

Implementing Transactions (4 topics)

  • Implement container-managed transactions (CMT)
  • Interact programmatically with an ongoing CMT transaction
  • Implement bean-managed transactions (BMT)
  • Apply transactions to messaging

Handling Exceptions (1 topic)

  • Examine exception-related differences between EJB version 2.x and EJB version 3.0

Using Timer Services (3 topics)

  • Create a timer callback notification
  • Process a timer callback notification
  • Manage timer objects

Implementing Security (3 topics)

  • Examine Java EE authorization strategies
  • Use declarative authorization
  • Use programmatic authorization

EJB Version 2.x and 3.0 Interoperability (2 topics)

  • 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

Prerequisites

To succeed fully in this course, students should have experience with developing EJB version 2.x applications.

Sections