what is a ejb architecture? and overview of ejb software
architecture?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between find and select methods in ejb?
What is stateless authentication?
Is it legal to have static initializer blocks in ejb?
Enlist the changes in EJB 2.1 ?
What are the basic and subtypes of enterprise java beans (ejb)?
How do I use a less than or greater than on a message selector in ejb-jar.xml?
Name the acid properties of a transaction.
Define SessionContext ?
Which is more beneficial: Stateful or Stateless Bean?
What is the difference between @requestparam and @pathvariable?
What do you mean by bean managed transaction?
Explain the architectural relationship between JavaBeans and JTA?
Who took over ejb?
Explain the concept of connection pooling feature of ejb container?
List down the steps for the demonstration of ejp persistence mechanism.