Based on the Enterprise JavaBeans (EJB) specification, enterprise beans are Java components that typically implement the business logic of Java 2 Platform, Enterprise Edition (J2EE) applications as well as access data. More introduction...
IBM WebSphere® Application Server provides broad support for enterprise beans, including the Enterprise JavaBeans (EJB) 2.x and EJB 3 specifications. The EJB 2.x specification includes a container-managed persistence (CMP) 2.0 component model, which provides a number of improvements to aid developer productivity and application performance. The EJB 3 specification simplifies the development of business logic and data handling for enterprise applications.
Explore the key concepts pertaining to Enterprise JavaBeans (EJB) applications. Based on the EJB specification, enterprise beans are Java components that typically implement the business logic of Java Platform, Enterprise Edition (Java EE) applications, as well as access data.
Find links to Web resources for learning, including conceptual overviews, tutorials, samples, and "How do I?..." topics, pending their availability.
An enterprise bean is a Java component that can be combined with other resources to create Java applications. There are three types of enterprise beans, entity beans, session beans, and message-driven beans.
An access intent policy is a named set of properties or access intents that govern data access for Enterprise JavaBeans (EJB) persistence. You can assign policies to an entity bean and to individual methods on an entity bean's home, remote, or local interfaces during assembly. You can set access intents only within EJB Version 2.x-compliant and later modules for entity beans with CMP Version 2.x.
Data persistence, the ability to maintain data between application executions, is vital to enterprise applications because the required access to relational databases. Applications that are developed for this environment must manage persistence themselves or make use of third-party solutions to handle database updates and retrievals with persistence. The Java™ Persistence API (JPA) provides a mechanism for managing persistence and object-relational mapping and functions for the EJB 3.0 and later specifications.
Support for transactions is provided by the transaction service within WebSphere Application Server. The way that applications use transactions depends on the type of application component.