On-site & Public, Instructor-led, Hands-on IT Training
(International 01) 908.233.8900
  400+ Course Offerings:

Search for Course:

JA2011 Writing EJB 3.0 Applications (With Advanced Topics)
Duration4 Days
Delivery MethodInstructor Led, Hands-on Workshops
Public Price$2250.00

DESCRIPTION (Return to Top)

Writing Advanced EJB 3,0 Applications is in-depth, lab intensive course geared for experienced Java developers who need to build complex multi-tiered component driven business applications using Java.

OBJECTIVES (Return to Top)

This course provides a thorough exploration of the core skills required to develop Enterprise Java Beans applications. Session Beans, Message Driven Beans, the Java Persistent API, Entities ORM handle EJB Transactions and implement EJB security are all covered in great depth. All technologies used are portrait on their architectural role. Best practices and patterns are explained throughout the course.

Designed for enterprise developers who wish to implement server-side business objects in Java, this lab-intensive training provides students with a solid understanding of both the essential and advanced elements of EJB, and how to develop complex EJB applications using sound coding techniques and best programming practices. The goal of this course is to empower developers with the knowledge they need to design and implement J2EE applications that effectively and transparently use EJB 3.0 to manage data persistence. This course provides coverage of design and implementation issues for EJB applications. The labs in this course involve the student in the design and implementation of a distributed application, with regard to the following issues:

  • Types of EJBs in the specification
  • Use of annotations
  • Deployment descriptors
  • Optimizing database operations using lazy retrieval and batch processing for updates
  • Advantages and disadvantages of session bean caching versus database caching
  • Mapping relationships in EJB 3.0
  • Using Session and Message EJBs with the new specification
  • Packaging EJB components in a J2EE-compliant manner

The goal of this course is to enable the student to design and implement a fairly realistic distributed business application using EJB 3.0. Most of the more advanced design issues that occur when designing and implementing an actual distributed application are addressed and resolved in this course. Working in a hands-on environment, developers will learn to:

  • Define the purpose of Enterprise JavaBeans
  • Clearly identify roles in the EJB development process
  • List benefits of an EJB solution
  • List the primary components of an EJB server
  • Describe how entity, session, and message beans differ
  • Develop, configure and deploy session and message beans
  • Use exceptions correctly in enterprise beans
  • Write deployment descriptors for various types of enterprise beans
  • Use EJB 3.0’s persistence to map entity beans to databases
  • Write session beans that call on entity beans to access a database
  • Use bean-managed and container-managed transactions when writing enterprise beans
  • Explain advantages/disadvantages of bean and container managed transactions
  • Provide security authorization in deployment descriptors

TOPICS (Return to Top)

Session: Introduction Enterprise JavaBeans(rev:3442)

  • Introducing Enterprise JavaBeans™
  • Components of the EJB Architecture

Session: Writing EJB 3.0 Session Beans

  • Writing the business interface and Implementation
  • Exception Handling
  • Transaction Configuration and Deployment
  • Interceptors
  • Timer Service (optional)
  • Introduction to Exposing a Session Bean as a Web service (Optional)
  • Introduction to Entities
  • Getting Started with EJB 3.0
  • Basic ORM
  • Entity Associations (relations)
  • Mapping Inheritance
  • Fundamentals of EJB Transactions
  • Bean-managed Transactions
  • Container-managed Transactions
  • Enterprise Java Beans Security
  • Introduction to JMS
  • Programming JMS
  • EJB3.0 Message-Driven Beans

Session: Overview of J2EE Design Patterns (Business and Integration Tiers)

  • J2EE Design Patterns Summary

Session: Developing JMX MBeans

  • Brief Overview of JMX
  • Developing Standard MBeans
  • Developing Dynamic MBeans
  • JMX Remoting (Client Side)


This an advanced level server side Java development course. Attending students should have practical experience with Java EE Technologies such as JNDI, DataSources and Web Technologies. Ideally attendees should have at least 6 months of practical development experience with server-side Java technologies.