Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How Client will contact the Bean?

Answers were Sorted based on User's Feedback



How Client will contact the Bean?..

Answer / 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

How Client will contact the Bean?..

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

How Client will contact the Bean?..

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

Post New Answer



More EJB Interview Questions

What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

0 Answers  


What is the difference between Session bean and Entity bean?one?

0 Answers  


In what way, the client gets a reference to an existing entity bean?

1 Answers  


What is backing bean?

0 Answers  


Is microservice stateless?

0 Answers  






What is the procedure for the presentation of ejb persistence mechanism?

0 Answers  


Name the attributes of javax.ejb.ejb.

0 Answers  


What are the services that a container provides for an entity bean?

3 Answers  


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

0 Answers  


What is BDK?

3 Answers  


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

0 Answers  


java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?

2 Answers   CGI,






Categories