This course is not scheduled. Inquire about Onsite training at your facility.
Overview
| Course code | VD352 | Skill level | Intermediate |
|---|---|---|---|
| Duration | 5.0 days | Delivery type | Instructor Led - Online Training
(Hands-on labs) |
| Course type | Public or Private on-site | ||
| Public price | USD $3,125.00 plus tax |
PLEASE NOTE: This course is also available as an Instructor Led Class, Developing EJB 3 Applications for WebSphere Application Server V7 (WD352) and also as a Self Paced Virtual Course (E-Learning), Developing EJB 3 Applications for WebSphere Application Server V7 (Self-Paced) (ZD352)
Please note this option does not require any travel.
This 5-day instructor-led course teaches students how to build Java Platform, Enterprise Edition 5 (Java EE 5) applications that use Enterprise JavaBeans (EJB) 3.0 and the Java Persistence API (JPA).
Java EE 5 represents a significant evolution in the Java enterprise programming model. It provides application developers with considerable improvements that enhance the development experience and, in turn, productivity. In particular, the EJB 3.0 specification in Java EE 5 provides simplified business logic development, simplified testing and dependency management, and simplified object-relational persistence.
In this course, students learn about the Java EE 5 component model and the new techniques employed in Java EE 5, such as dependency injection and annotation-based programming. Students also learn how to develop and test the supported types of EJBs (session and message-driven) and JPA entities. Â Finally, students gain experience with the various qualities of service provide by the EJB container such as security and transactions, how to create Web services from EJBs, and how to develop EJB clients.
IBM WebSphere Application Server V7 and IBM Rational Application Developer V7.5 provide complete support for the EJB 3 specification. Hands-on exercises throughout this course give students practical experience developing EJBs with IBM Rational Application Developer V7.5 and deploying EJB-based applications to IBM WebSphere Application Server V7.
View this course in other countries
Training Paths that reference this course are:
Prerequisites
Before taking this course, students should have practical experience with the Java programming language. This knowledge can be gained by attending one of the following courses:
- Java SE 5 Programming Fundamentals (WD152) or (VD152)
- Introduction to Java SE 5 Using Eclipse 3.2 (JA355) or (VD155)
Students should also have knowledge of database concepts such as SQL, primary and foreign keys, joins, and referential integrity.
Some knowledge of Java EE Web development and Web services, and experience with Rational Application Developer or another Eclipse-based development environment, is also beneficial.
Skills taught
- State the purpose and value of using the Enterprise JavaBean (EJB) technology
- Describe the Java EE 5 application architecture
- Use annotation-based development for EJBs
- Explain the relationship between annotations in code and deployment descriptor files
- Define and use dependency injection and resource injection
- Develop and test the various types of EJBs (stateless session, stateful session, or message-driven) and Java Persistence API (JPA) entities
- Use Java persistence query language (JPQL)
- Perform object-to-relational mappings (ORM) for persistent data
- Implement persistent entities with associations
- Integrate an application with messaging using message-driven beans
- Use EJB timers and interceptors
- Leverage container services for transaction management
- Create and test EJB clients
- Create Web services from EJBs
- Apply recommended practices in EJB design and implementation
- Use IBM Rational Application Developer V7.5 to develop and test an EJB 3 application
- Deploy an EJB 3-based application to WebSphere Application Server V7
Course outline
- Course introduction
- Java EE architecture
- Introduction to EJB 3
- Session EJBs
- Exercise: Creating your first stateless session bean
- The library case study
- Exercise: Preparing for the library case study
- Strategies for testing EJBs
- Exercise: Starting to build the library case study
- Exercise: Creating a stateful session EJB for the library case study
- EJB clients
- Exercise: Developing a Java client application for the library case study
- Introduction to the Java Persistence API (JPA)
- Object-relational mapping with JPA
- Exercise: Developing the entity beans for the library case study
- Java Persistence Query Language (JPQL)
- Exercise: Creating session facades for the entity beans
- Message-driven beans
- Exercise: Adding a message-driven bean to the library case study
- Exercise: Importing a Web user interface for the library case study
- Managing transactions in EJBs
- Exercise: Adding transactional integrity to the library case study
- EJB 3 timers and interceptors
- Exercise: Adding an EJB timer to the library case study
- EJBs and Web services
- Exercise: Creating a Web service from a stateless session bean (optional)
- EJB security
- Exercise: Implementing EJB security for the library case study
- Recommended practices for EJB 3
- Deployment to WebSphere Application Server V7
- Exercise: Deploying the library case study (optional)
- Course summary
- Inheritance with JPA entities (optional)