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

How does ejb work in java?

0 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  


Which services are provided to ejb components by the ejb container?

0 Answers  


What are stateless applications?

0 Answers  


What is pub/sub model?

0 Answers  






What is stateless and stateful session bean in ejb?

0 Answers  


Why is ejb needed?

0 Answers  


What is the difference between session and entity beans? When should I use one or the other?

0 Answers  


What is @resource in java?

0 Answers  


How to invoke ejb from java client?

0 Answers  


What are the different types of ejb?

0 Answers  


What is the difference between message driven beans and stateless session beans?

0 Answers  


Categories