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 |
What is an ejb container?
How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?
Define ACID Properties?
Why do we use @requestmapping?
Why is ftp stateful?
How does ejb work in java?
What is @injectmock?
Can a client interact with an JavaBean directly? Explain?
What is the use of @ejb annotation?
What is ejb and its types in java?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is stateful session bean?