Business Component Development with EJB Technology, Java EE 6 (SL-355-EE6)
The latest release of the Enterprise JavaBeans (EJB) 3.1 Technology available in the Java Platform, Enterprise Edition 6 (Java EE 6) platform builds on previous EJB technology and further simplifies how developers approach creating business components. EJB 3.1 makes many improvements that reflect common usage patterns, including Singletons, No-interface view, Java Naming and Directory Interface (JNDI), Asynchronous Session Bean, and Timer Service.
This course provides you with the knowledge required to build robust back-end functionality using EJB version 3.1 technology. You will gain practical experience coding session beans and message driven-beans, and you will examine EJB design, best practices, transaction management, messaging fundamentals, and security.
The course features the Java EE 6 technology and uses the Java EE 6 SDK. You will perform the course lab exercises using the NetBeans Integrated Development Environment (IDE). The hands-on lab environment uses the Java EE GlassFish v3 server.
What You'll Learn
- Implement business-tier functionality using EJB technology
- Best practices and other advanced issues in business component development with EJB technology
- Assemble and deploy EJB technology business-tier components on an application server
- Integrate an EJB technology-based application using the Java Messaging Service API
- Create and implement timer-based services
- Integrate transactions and security into an enterprise application
Who Needs to Attend
- Java developers who are looking to build web-based and/or enterprise-based applications that incorporate EJB technology
- Java developers who are preparing for the Sun Certified Enterprise JavaBeans Developer certification
Prerequisites
- Experience with the Java programming language
- Ability to integrate existing Java code (for example, reuse existing classes created by other team members)
Follow-On Courses
Course Outline
1. Introduction to Java EE
- Basics of the Java Platform, Enterprise Edition (Java EE)
- Java EE application architecture
- Java EE container services
- EJB component types
- EJB Lite Container
- Compare Java EE application development with traditional enterprise application development
2. Implementing Session Beans
- Basics of session beans
- Three types of session beans
- Choose the correct session bean type given a business constraint
- Create session beans package and deploy session beans
3. Accessing Session Beans
- Purpose and role of JNDI in relation to EJB components
- Configure JNDI environment properties
- Use JNDI to look up a resource
- Write code that receives a resource reference through injection
- Create a session bean client
- Create a session façade
- Use dependency injection to locate an EJB
4. Advanced Session Bean Concepts
- Relationship between the EJB container and an EJB component
- Life cycle for stateless and stateful session beans
- Implement session bean life cycle methods
- Use a session bean to perform asynchronous communication
- Have fine-grained control over packaging and deployment
5. Singleton Session Bean
- Advantages and disadvantages of using a singleton session bean
- Create a singleton session bean
- Life cycle of a singleton session bean
- Implement singleton session bean life cycle methods
- Singleton concurrency access
- Implement a concurrency management strategy
6. Developing Java EE Applications Using Messaging
- Review JMS technology
- Roles of the participants in the JMS API messaging system
- Create a queue message producer
- Create a synchronous message consumer
7. Developing Message-Driven Beans
- Short-comings of using session beans as messaging consumers
- Properties and life cycle of message-driven beans
- Create a JMS message-driven bean
- Create life cycle event handlers for a JMS message-driven bean
- Configure a JMS message-driven bean
8. Using Timer ServicesObjectives
- Timer services
- Create a timer notification callback
- Process a timer notification callback Manage timer objects
9. Implementing Interceptor Classes and Methods
- Interceptors and interceptor classes
- 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
10. Implementing Transactions
- Transaction demarcation management
- Implement CMT
- Interact programmatically with an ongoing CMT transaction
- Implement BMT Apply transactions to messaging
11. Implementing Security
- Java EE security architecture
- Authenticate the caller Examine Java EE authorization strategies
- Use declarative authorization
- Use programmatic authorization Examine the responsibilities of the deploy
12. Using EJB Technology Best Practices
- Best practices and the benefits of using EJB technology best practices
- Select and apply known patterns to Java EE application design
- Incorporate effective exception handling into your Java EE application design
United States [