Enterprise JavaBeans


Also found in: Acronyms, Wikipedia.

Enterprise JavaBeans

(specification, business, programming)
(EJB) A server-side component architecture for writing reusable business logic and portable enterprise applications. EJB is the basis of Sun's Java 2 Platform, Enterprise Edition (J2EE).

Enterprise JavaBean components are written entirely in Java and run on any EJB compliant server. They are operating system, platform, and middleware independent, preventing vendor lock-in.

EJB servers provide system-level services (the "plumbing") such as transactions, security, threading, and persistence.

The EJB architecture is inherently transactional, distributed, multi-tier, scalable, secure, and wire protocol neutral - any protocol can be used: IIOP, JRMP, HTTP, DCOM etc. EJB 1.1 requires RMI for communication with components. EJB 2.0 is expected to require support for RMI/IIOP.

EJB applications can serve assorted clients: browsers, Java, ActiveX, CORBA etc. EJB can be used to wrap legacy systems.

EJB 1.1 was released in December 1999. EJB 2.0 is in development.

Sun claims broad industry adoption. 30 vendors are shipping server products implementing EJB. Supporting vendors include IBM, Fujitsu, Sybase, Borland, Oracle, and Symantec.

An alternative is Microsoft's MTS (Microsoft Transaction Server).

http://java.sun.com/products/ejb/.

FAQ.

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 EJBs
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 ?
Enterprise JavaBeans (EJBs, or simply, beans) represent one of the core Java EE technologies.
There are also Enterprise JavaBeans that manage security and reliability on the server side.
Written for programmers who have developed small client-side Java applications for the desktop, this guide explains how to create reusable and scaleable components of Java enterprise edition, such as JavaServer pages, enterprise JavaBeans, and web services.
The specification co-lead and main author of the GLS is Richard Monson-Haefel, well known as the author of the O'Reilly book Enterprise JavaBeans and member of the EJB2 JSR experts group.
TELECOMWORLDWIRE-13 August 2004-O'Reilly ships 'Enterprise JavaBeans, Fourth Edition'(C)1994-2004 M2 COMMUNICATIONS LTD http://www.m2.com
Component development through Enterprise javabeans (EJBS) and .NET Components has increasingly become a part of architectures and enterprise deployments over the past couple of years.
The new releases include Forte for Java 4, Enterprise Edition featuring web services and Enterprise JavaBeans component development support; the first release of Forte for Java 4, Mobile Edition, tailored for developing mobile device applications; Forte for Java 4, Community Edition, which spans development from the client up through the Web tier (JSP/Servlet); and release 7 of Forte Developer, which helps developers extend C/C++ applications into a services architecture running on the Solaris Operating Environment.
The new V/5 release provides support for J2EE technologies, including Enterprise JavaBeans (EJB), JavaServer Pages (JSP) and Java Servlets.
For example, Sun Microsystem's JavaBeans definition has developed into the Enterprise JavaBeans (EJB) specification, which supports both transaction and persistence services for enterprise applications [4].
Based on Java 2 Platform, Enterprise Edition (J2EE) standards, Total-e-B2B utilizes advanced JavaServer pages, Java Servlet API, Enterprise JavaBeans, 100% pure Java and extensible markup language technologies to establish an open, extensible B2B solution.
The CIS software components are being implemented as JavaServer Pages (JSP), JavaBeans, Enterprise JavaBeans (EJBs), Dynamic HyperText Markup Language (DHTML), client side Javascripts, and interface to relational databases using Java DataBase Connectivity (JDBC).
IDC projects the enterprise Java market, as reflected by the demand for Enterprise JavaBeans, will expand more than eightfold over the next three years, from $73 million in 2000 to $628 million in 2003.

Full browser ?