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 |
What is bean-managed persistence?
What is BDK?
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?
What is mdb?
Why does EJB needs two interfaces, Home and Remote Interface?
Explain the difference between, Java Class and Bean?
What are the transaction management benefits of the EJB architecture?
What is ejb and why it is used?
How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?
What is the use of @ejb annotation?
What are the various types of entrepreneur java bean?
What is stateless code?