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 applicationscoped?

0 Answers  


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

0 Answers  


What do you mean by ejb?

0 Answers  


What are the various types of entrepreneur java bean?

0 Answers  


What are types in SessionBeans?

1 Answers  






What is ejb home object?

0 Answers  


What is the difference between find and select methods in ejb?

0 Answers  


What are the various methods of an Entity Bean?

1 Answers  


how to deploy enterprise javabeans?

2 Answers   Inforica,


what is SessionBean, EntityBean?

2 Answers  


What is remote interface in ejb?

0 Answers  


What are the system services of ejb container?

0 Answers  


Categories