EJB(redirected from Entity Bean)
Also found in: Acronyms, Wikipedia.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
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.
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.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.