Entity Beans  «Prev  Next»
122
Lesson 3 EJB Architecture Assumptions
ObjectiveSkills learned in the first course in the EJB series

EJB Architecture Assumptions

Describe the skills you learned in the first course in the series known as EJB Session Beans. This lesson summarizes the knowledge and skills you learned in the first course in this series, EJB Architecture and Session Beans.

Distributed Applications

The beginning of the course covered the principles of distributed applications, including:
  1. Clients, servers, and remote objects
  2. Transports, Stubs, and skeletons
  3. The proxy pattern
  4. Containers and servers
  5. Separating business logic and system services and infrastructure
  6. Components
  7. Object Monitors
  8. Distributed transactions
  9. The deployment process

The architecture of Enterprise JavaBeans

These principles were applied to the architecture of Enterprise JavaBeans (EJB). Some of the topics covered were:
  1. EJB clients, servers, containers, and beans
  2. Container services: factory, lifecycle, state management, security, naming, and transactions
  3. Session beans
  4. Stateful
  5. Stateless
  6. Entity beans
  7. The deployment descriptor and the jar file
  8. Roles and the development process


Session Beans

The course then covered session beans.
The following elements were discussed:
  1. Client
  2. JNDI lookup
  3. Calling the business methods
  4. Removing the bean
  5. Accessing a bean through its handle
  6. Home interface
  7. Create methods
  8. Remote interface
  9. Mapping to business methods
  10. Bean
  11. Business methods
  12. Container callbacks
  13. Passivation
  14. Activation
  15. Removing
  16. Session Context
  17. Stateless and stateful

Building applications from multiple beans

The last topic explored was the building of applications from multiple EJBs.
An EJB can be a client to another bean.
Please make sure that you are comfortable with your understanding of the topics listed above.
If you are not, or if it has been a while since you took the first course in the series, please revisit the first course before moving past this point.
EJB Architecture

Jakarta EE Recipes