Inhoud
In dit seminar krijgt u een overzicht van de nieuwe features in de Enterprise JavaBeans 3.0 specificatie. De theorie wordt toegelicht aan de hand van diverse voorbeelden. De onderwerpen die aan bod zullen komen, zijn:
- Rationale for ‘Enterprise’ JavaBeans
- EJB 3 Programming Model
- Session Beans
- Local vs. Remote access
- Stateful vs. Stateless
- Life cycle of Session Beans
- How to develop a simple Session Bean
- Dependency Injection
- Interceptors
- Callback events
- Transactions
- Packaging and Deployment
- Java Persistence API
- Object/Relation paradigm mismatch
- JPA background
- Entities are POJOs with persistent state
- Identity and autogeneration strategies
- EntityManager API
- Managed vs. Unmanaged
- Persistence Context
- Life cycle of an Entity
- Callback events
- Basic relational mapping
- Persistence unit and packaging
- Relationships
- Cascading
- Inheritance
- Queries
- Running JPA out-of-container