Duration: 5 days
view class outline
EJB3 Training Overview
This EJB3 training course gives the experienced Java developer a thorough grounding in Enterprise JavaBeans -- the Java EE standard for scalable, secure, and transactional business components. EJB 3.0 has reinvigorated this area of Java enterprise development, with dramatic improvements in ease of use and smooth integration with servlet-based or JSF web applications. This EJB3 training course treats the 3.0 specification, with a few notes on 2.1 compatibility but an emphasis on doing things the 3.0 way.
Students get an overview of the EJB rationale and architecture, and then dive right into creating session beans and entities. The new dependency-injection features of EJB3 cause perhaps the most confusion, so we work through a chapter devoted explicitly to DI and JNDI, and basically how components find each other to make an application. We study entities and the Java Persistence API in depth, and get a look at message-driven beans as well. The latter phase of this EJB3 training course covers advanced topics including transactions, security, and interceptors.
Location and Pricing
Most Accelebrate courses are taught on-site at our clients' locations worldwide for groups of 3 or more attendees and are customized to their specific needs. Please visit our client list to see organizations for whom we have recently delivered training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote private training at your site or online, please contact us.
In addition, some courses are available as live, online classes for individuals. To see a schedule of online courses, please visit http://www.accelebrate.com/online_training/?action=category&page=ejb.
EJB3 Training Prerequisites
All EJB3 training students should have solid Java® programming skills and an understanding object-oriented Java and Java 5/6 language features. Experience with developing Java web applications is very helpful for this course, but not strictly required. Some knowledge of XML will be useful for writing the occasional deployment descriptor, but is not required.
Hands-on/Lecture Ratio
This class is 70% hands-on, 30% lecture, with the longest lecture segments lasting for 20 minutes.
EJB3 Training Materials
All EJB3 training students receive a copy of EJB 3 in Action, related courseware, and copies of all files developed during the class.
Software Needed on Each Student PC
- Java EE 5.0 or later
- Eclipse for Java EE Developers 3.3 or later
- Please contact us for detailed setup instructions
EJB3 Training Objectives
- Understand the role of EJB in the broader Java EE platform.
- Describe the features that are implemented by an EJB container on behalf of application components.
- Build stateless session beans as part of a service layer or SOA.
- Build JPA entities to represent persistent data records within the Java application.
- Develop systems of entities to manage complex data models including 1:1, 1:N, and N:N associations.
- Manage transactional behavior of the application through declarative and programmatic techniques.
- Invoke EJB sessions from Java web applications.
- Use dependency injection and JNDI names to assemble complex web/EJB systems with minimal fuss and maximal flexibility.
- Implement message-driven beans to process queued messages asynchronously.
- Declare and/or program transaction boundaries, persistence contexts, and exception handling to properly control persistence logic.
- Apply role-based authorization policies to EJBs
- Build interceptors to perform generic processing before, after, or around EJB business-method invocations
- Use EJB timers to defer processing or establish regularly scheduled tasks


