What is the major difference SessionBean and EntityBean?

Answer Posted / janet

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 ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Elucidate callback in ejb?

538


What is pub/sub model?

504


What do you mean by ejb ql?

567


What is the full form of ejb in java?

497


What is an ejb platform?

555






How do I use a less than or greater than on a message selector in ejb-jar.xml?

525


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?

626


What is the difference between ejb and spring?

526


Is decorator an ejb design pattern?

557


What is stateless authentication?

517


Does spring use ejb?

499


Explain transaction and various methods to manage it?

525


What are the different kind of ejb's?

535


What is bean-managed persistence?

573


What is ejb and its architecture?

508