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

Using Container managed entity bean, how an entity bean can be created?

1 Answers  


Life Cyle methods in Entity Bean with Container Managed persistence

2 Answers  


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

1 Answers  


How bean-managed transactions will work?

1 Answers   Wipro,


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

2 Answers   HCL,


What are the steps involved in creating a Bean?

2 Answers  


How 'messaging' supported in EJB 2.0 Specification?

1 Answers  


In EBs the DB state is more consistent than SBs why?

1 Answers  


Can stateful session beans are persistent?

2 Answers  


how to set the relationship between tables in ejb

1 Answers  


How EJB component can in interact with COM/DCOM components?

1 Answers  


Can a client interact with an JavaBean directly? Explain?

1 Answers  




Categories