what is a ejb architecture? and overview of ejb software
architecture?
Answer / arulkumar
An EJB is essentially a software component on which method
calls can be made, and which can itself make calls on other
components. These calls may be made over a network. In this
sense, EJB technology is similar to Java RMI and CORBA.
However, there are some defining features of EJBs that make
EJB development rather different from (and easier than)
other techniques for developing distributed applications.
In Version 2.0 of the EJB Specification, EJBs are allowed
to interact using local calling semantics, as well as
distributed, RMI-like techniques
This illustrates the Key Features of the EJB Architecture
•EJB bean exists within the container
•Client never communicates directly with the EJB bean;
rather it talks to the bean through its home interface and
its remote interface, both of which are provided by the
container.
•EJB server does not take part in the logical conversation
between client and EJB bean. Actually, the server is doing
a lot of work behind the scenes. Remembers the must handle
requests for the container, and feed the container incoming
client requests. And the bean and the client not directly
access the server – all access is performed against the
container.
| Is This Answer Correct ? | 1 Yes | 3 No |
Life Cyle methods in Entity Bean with Bean Managed Persistence
Is having static initializer blocks legal in ejb?
What is ejb home object?
Is it possible to have threading in ejb?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
What’s new in the ejb 2.0 specification?
What is rmi and ejb in java?
What is @enableautoconfiguration?
How EJB and JDBC/SQLJ are related?
Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?
What is stateless session bean?
What is ejb and its properties?