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 |
Name the acid properties of a transaction.
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What is stateless authentication?
how to deploy enterprise javabeans?
What is ejb client?
What is message-driven bean?
Difference between container-managed & bean-managed persistence?
What are the different types of ejb?
Which is more beneficial: CMP or BMP?
How many types of session beans are available in ejb?
What is persistence?
How bean-managed transactions will work?