The EJB Container

With EJBs, the container is implemented by what is commonly called an application server. Application server vendors and development groups may add additional services above and beyond the EJB specification and have some discretion on how services are implemented, but in order to be compliant, they must provide a core set of services as follows:

  • security

  • transactions

  • naming

  • scalability

  • life-cycle management

These services and some background information on how they may be implemented are discussed in the following sections.

Security

EJB application servers must implement a specific role-based security model and must provide a role reference facility that allows a role reference name to be established for the role. Role permissions ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.