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 |
How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?
What do you mean by timer service and where it is used?
what is SessionBean, EntityBean?
What are transaction isolation levels in ejb?
What does @singleton annotation do?
can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.
What is the difference between @requestparam and @pathvariable?
What is mdb in ejb?
Using Container managed entity bean, how an entity bean can be created?
Why do we need ejb in java?
Differentiate “find a method” from “select method” in EJB ?
Can we write the Remote and Local Interfaces in one Bean. How do you define it in the deployment descriptor.