What is the major difference SessionBean and EntityBean?

Answer Posted / eavi

Session Beans state can be shared by only one client at a
time - persistence storage device .ser file.
EntityBeans state can be shared by multiple
clients,because as its persistence storage device is DB.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dependency injection in ejb?

538


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

533


What is the procedure for the presentation of ejb persistence mechanism?

585


What is mdb in ejb?

523


What is passivation and activation in ejb?

538






can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

1783


Is having static initializer blocks legal in ejb?

547


What is a ejb container?

519


What is an ejb container?

532


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?

567


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

554


How to invoke ejb from java client?

518


How ejb invocation happens?

571


What causes statelessness?

483


What is backing bean?

612