|
Creating business logic with JPA and EJB 3.0 |
|
The training covers two most important parts of Java EE used for programming business logic: Enterprise Java Beans (EJB) and Java Persistence API (JPA) entities.
Besides exercises, the training also covers theoretical knowledge related to EJB and JPA, presentation of design patterns and anti-patterns and discussion of distributed transactions handling. The training is for: - programmers that create multi-layered, distributed applications,
- architects and designers of enterprise systems.
Prerequisites: - knowledge of Java and object-oriented programming,
- prior participation in the training "Introduction to Java 5.0" is recommended,
- basic knowledge of databases and SQL.
By the end of the training participants will have learned: - how to serialize objects with JPA,
- how to create EJB components and when to use them,
- advantages of multi-layered architecture,
- typical problems that occur during creation of server-side applications, as well as their standard solutions.
Training duration: 3 days. Methodology: lectures and exercises. A lot of practical examples are presented, discussed, tested and extended by the trainees. Trainees actively participate in the training. Training outline: Day 1. - Persistence of data in Java.
- Using Java Persistence API (JPA) entities, synchronization with a database, uniqueness of entities, comparing entities, life-cycle and callback methods.
- Representing class hierarchies in a database, inheritance, polymorphism, composition.
- EJB-QL queries.
Day 2. - Introduction to multi-layered architecture and distributed applications.
- Component types in Enterprise Java Beans 3.0 (EJB).
- Stateful and stateless Session Beans.
- Life-cycle and callback methods.
- Combining Session Beans and JPA entities.
- Transactions, performance.
- Protecting EJB components, roles.
- Patterns and anti-patterns.
Dzień 3. - Introduction to JNDI and Dependency injection.
- Asynchronous communication with messages in Point-to-Point and Publish-Subscribe models.
- Java Message Service (JMS).
- Message Driven Beans (MDB).
- Confirming messages, transactions and security.
|