File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Best bean  for persistance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Best bean  for persistance" Watch "Best bean  for persistance" New topic
Author

Best bean for persistance

Vaithialingam Asai
Greenhorn

Joined: Mar 07, 2004
Posts: 10
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

Joined: Aug 27, 2003
Posts: 1064
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

Joined: Aug 27, 2003
Posts: 1064
http://www.javaranch.com/name.jsp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best bean for persistance