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’s new in the ejb 2.0 specification?

533


What’s the difference between hibernate and ejb 3?

541


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

544


What is an entity manager?

522


Define Initial Context?

581






What are the system services of ejb container?

626


What is rmi and ejb in java?

528


What is stateless programming?

594


What do you mean by EJB architecture?

573


What is the purpose of ejb in java?

533


What are the different kind of ejb's?

535


Define Clone?

593


What are the various types of entrepreneur java bean?

521


How can a session bean be configured for transactions of bean-managed?

576


What are transaction isolation levels in ejb?

545