Skip Headers

# Service Layer

Previous

Next

This section describes choices you need to make when deciding on how to encapsulate your application's business logic (or service).

These choices can be summarized as follows:

- EJB Session Beans

  - Stateful

  - Stateless

- EJB Entity Beans

  - Container-Managed Persistence (CMP)

  - Bean-Managed Persistence (BMP)

- EJB 3.0 JPA Entities

- Plain Old Java Objects (POJO)

See also:

- "Data Access"

- "Caching".