Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best bean for persistance

 
Vaithialingam Asai
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All,
This is my First Question..
We can persist the data using Stateless session bean and Entity bean?
When we should go for Stateless and When for Entity?
I have heard that when there are large number of datas we should use Session beans because there is no Overhead of ejbLoad/ejbStore...
Can anyone Explain me in detail?
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SLSB and Entity beans are meant for diferent purposes. You may want to refer the foll. book for good EJB Design/Practice suggestions....
http://www.theserverside.com/books/wiley/EJBDesignPatterns/downloadbook.tss
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.javaranch.com/name.jsp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic