How Client will contact the Bean?

Answer Posted / sapan kumar das

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the attributes of transaction in ejb?

496


What is ejb in spring?

437


Explain the concept of ejb ql?

593


What are the system services of ejb container?

617


What is an entity and its types?

534






What happens when I change a value in the httpsession from inside an ejb?

511


What are the types of ejb?

523


What is Enterprise JavaBeans Query Language (EJB QL)?

534


Are entity beans allowed to create() methods?

573


What do you mean by ejb ql?

561


What causes statelessness?

467


in EJB diclare the static methods are not?

2903


What does ejb stand for?

603


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

553


What are the callback annotations for the stateless bean?

486