How Client will contact the Bean?
Answers were Sorted based on User's Feedback
First Client Homeinterface get by
1.Client locates the Homeinterface using JNDI services.
2.EJB server return reference of Homeinterface.
3.Client call the create method of Homeinterface
4.EJB server return the reference of Remoteinterface
5.Client invoke the remotemethods
6.server return the results.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / john doe
The client will use the Home interface to create an EJB Object.
When client makes a function call it will access the EJB
Object through the Remote interface.
The EJB Object then decides which EJB and which function is
to be called.
Thus the connection between the client and Bean is established
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / janet
The client view is provided through two interfaces -- the
home interface and the remote interface. These interfaces
are provided by classes constructed by the container when a
bean is deployed,based on information provided by the bean.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is a local interface?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?
What is ejb and its types in java?
How does ejbs work?
Explain the concept of ejb ql?
What is stateless and stateful session bean in ejb?
what are required main interfaces in EJB?
What are stateless applications?
What is backing bean?
What is ejb and its architecture?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?