How Client will contact the Bean?




Answers were Sorted based on User's Feedback



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

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



Post New Answer



More EJB Interview Questions

What Is EJB Clustering? Explain the Functionality?

1 Answers   HCL, Business Architectures, College School Exams Tests,


in EJB diclare the static methods are not?

0 Answers   iGate,


An EJB client, can marshall an object of the class java.lang.Class to an EJB?

2 Answers  


can u explain about design patterns like singleton,builder,factory

0 Answers   EdgeSoft,


In an EJB project, Howmany tables and How many entity beans are used?

1 Answers  


what s the difference b/w EJB 2.0 and EJB 3.0 technically

2 Answers   Microsoft, Tech Mahindra, Mind Tree,


Transaction Attributes? What is the use of ?RequiresNew?

1 Answers   HCL,


Explain the architectural relationship between EJB & XML?

1 Answers   Wipro,


How can I call one EJB from inside of another EJB?

2 Answers   CTS,


What does a deployment diagram specify?

2 Answers  


What is the relationship between an EJB component, EJB container, and an application server?

2 Answers  


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

3 Answers  




Categories