Duration: 5 days
This 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 course treats the 3.0 specification, with a few notes on 2.1 compatibility but an emphasis on doing things the 3.0 way.
• 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.
• 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.
Method of Delivery
• Onsite/Live class instructions or Online web conference
• Open discussion
• Case studies