EJB

(redirected from Session Bean)
Also found in: Acronyms.

EJB

EJB

(Enterprise JavaBeans) A software component in the Java EE platform, which provides a pure Java environment for developing and running distributed applications. EJBs are written as software modules that contain the business logic of the application. They reside in and are executed in a runtime engine called an "EJB Container," which provides a host of common interfaces and services to the EJB, including security and transaction support. At the wire level, EJBs look like CORBA components.

Three Types of EGBs
The three types of EJBs are: (1) session beans perform processing, (2) entity beans represent data, which can be a row or a table in a database, and (3) message driven beans are generated to process Java Messaging Service (JMS) messages.

Very Versatile
EJBs inherently provide future scalability and also allow multiple user interfaces to be used. For example, both a Web browser and a Java application could be used to access EJBs, or one could be switched for the other at a later date. However, if these are not important issues, servlets, JSPs and regular Java applications can be used for business logic rather than EJBs. See Java EE, EJB container, EJB local interface, JavaBeans, distributed objects and component software.
References in periodicals archive ?
As its name suggests, there is only a single instance of a singleton session bean per Java Virtual Machine (JVM).
The thinking is that you need to make this a stateful session bean so that you can pass in the usernaine only one time (in the create () method).
E2eHub web infrastructure provides scalability and failover, supplementing clustering technologies of standards based J2EE application servers, to augment session bean state failover and recovery.
Significant enhancements to EJB-test, a 100 percent Java application, include advanced session bean support, dynamic graphing capabilities and extended functional testing.
Coverage includes (for example) session beans, entities, persistence features, message-driven beans, and Web services.
CocoBase is also tightly integrated with the WebSphere Application Server providing EJB CMP / BMP data persistence, Session Beans, and Dynamic Transparent Persistence.
The first book in the "Building Java Enterprise Applications" series, "Volume 1: Architecture" covers the back-end of application programming, and explains databases, entity beans, session beans, the Java Message Service, JNDI, RMI, LDAP, and much more.
CocoBase's(R) Dynamic O/R Mapping(R) layer automatically creates maps and generates Container Managed Persistence (CMP), Bean Managed Persistence (BMP), Session Beans, Java Server Pages (JSP), and stand-alone Java persistence directly from the UML-XMI object model.
Volume 1: Architecture' covers databases, entity beans, session beans, the Java Message Service, JNDI, RMI, and LDAP.
0 has been updated to reflect the final specification including Java Annotation support for Session Beans, Message driven Beans, and Entity Beans as well as a simplified persistence model based on Hibernate.
This edition of the workbook has been updated to include the latest features and covers the EJB 3,0 standard, including basic notions about server-side components, asynchronous messaging and web services, an architectural overview, resource management and primary services, entity and session beans, EntityManager (in Persistence), mapping persistent objects and entity relationships, entity inheritance, queries and EJB QL, entity callbacks and listeners, message-driven beans, timer service, the INDI ENC and injection, interceptors, transactions, security, and Java EE.