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 is ejb home object?

556


Is it legal to have static initializer blocks in ejb?

544


Write down the steps for the creation of stateless ejb.

598


How does the server decide which beans to passivate and activate?

523


How do you decide whether you should use session, entity or message driven bean?

559






What is rmi and ejb in java?

525


What is enterprise bean provider?

592


What is an ejb platform?

553


What is a ejb container?

510


Which is more beneficial: Stateful or Stateless Bean?

573


What do you mean by ‘hot deployment’ ?

576


Why should we use ejb?

521


What is entity bean?

577


What are the callback annotations for the stateless bean?

487


How can a CORBA object, accessed from a EJB?

1664