In several ways, the dynamic creation and allocation of message-driven bean instances mimics the behavior of stateless session EJB instances, which exist only for the duration of a
Read tutorial ↗You can pass the HttpSession as parameter to an EJB method, only if all objects in session are serializable.This has to be consider as passed-by-value, that means that it's read-on
Read tutorial ↗A select method can return a persistent field (or a collection thereof) of a related entity bean. A finder method can return only a local or remote interface (or a collection of in
Read tutorial ↗A Java Bean is a software component written in the Java programming language that conforms to the JavaBeans component specification. The JavaBeans APIs became part of the "core" Ja
Read tutorial ↗Abstract schema is part of an entity bean's deployment descriptor which defines the bean's persistent fields and their relationship. Abstract schema is specified for entity beans w
Read tutorial ↗An EJB can use local client view only if it is really guaranteed that other enterprise beans or clients will only address the bean within a single JVM.
Read tutorial ↗An MDB is essentially a message consumer that can listen to a message destination or a message endpoint and gets activated when a message arrives. By design, MDBs are anonymous in
Read tutorial ↗Callback methods allows the container to notify the bean of events in its life cycle. The callback methods are defined in the javax.ejb.EntityBean interface.
Read tutorial ↗Deployment descriptor is a XML file. which is used to locate the web applicatio n by container.it includes the details of respective bean.
Read tutorial ↗For a Session bean - one EJB object for one bean instance
Read tutorial ↗If we define the entity bean as being reentrant, multiple clients can connect to the Entity bean & execute methods within the entity bean concurrently.
Read tutorial ↗This technique is most useful when you have large hierarchies of objects (such as a product catalog). You can lazy-load subordinate objects as you navigate down the hierarchy, and
Read tutorial ↗