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

why object class is a parent of all classes in java?

2 Answers   TCS,


what are main features in EJB?

2 Answers  


How stateful session beans will maintain consistency, across transaction updates?

2 Answers  


explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...

2 Answers   HCL,


How is an entity bean created?

1 Answers  






TX operation funtion executed by?

0 Answers   Satyam,


what is mean by com/Dcom ? Please answer me. Advance thanks.

1 Answers   Excel,


what is SessionBean, EntityBean?

2 Answers  


Is it possible to write two EJBs that have different bean classes, but they share same Remote interface and Home interfaces?

1 Answers  


Name the interfaces that you used in Beans?

2 Answers  


What does a deployment diagram specify?

2 Answers  


what is mean by port ? Please answer me. Advance thanks.

2 Answers   Excel,






Categories