Can a client interact with an JavaBean directly? Explain?



Can a client interact with an JavaBean directly? Explain?..

Answer / nirmala

No client cannot directly interact with java bean.
1.java application calls home interface to get a reference
for customer session object.
2.home interface creates customer session object which can
be refernced by customer bean interface.
3. java clients gets refence for the customer session bean
thru the bean interface.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More EJB Interview Questions

What is bean-managed persistence?

0 Answers  


What is BDK?

3 Answers  


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

0 Answers  


What is mdb?

0 Answers  


Why does EJB needs two interfaces, Home and Remote Interface?

4 Answers  






Explain the difference between, Java Class and Bean?

3 Answers  


What are the transaction management benefits of the EJB architecture?

1 Answers  


What is ejb and why it is used?

0 Answers  


How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?

1 Answers  


What is the use of @ejb annotation?

0 Answers  


What are the various types of entrepreneur java bean?

0 Answers  


What is stateless code?

0 Answers  


Categories