JavaSoft defined the Enterprise JavaBeans specification to give Java
developers a foundation for building distributed business components. EJBs
are Java components that implement business logic and follow a contract
designated in the EJB specification. Enterprise JavaBeans live inside an EJB
container that provides a set of standard services, including transactions,
persistence, security, and concurrency. This means that the application
programmer is freed from developing these services from scratch.
To get the most out of using EJBs in an enterprise-level distributed
application supported by a J2EE-compliant application server, programmers
should: Closely conform to the EJB specification. Use available tools for
bean development and compliance checking. Learn to benefit from the
experiences of others. As outlined in this article, best practices for EJBs
are based ... (more)