permaculture playing cards*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Best bean  for persistance" Watch "Best bean  for persistance" New topic

Best bean for persistance

Vaithialingam Asai

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....
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
I agree. Here's the link:
subject: Best bean for persistance
Similar Threads
when to use entitybean
Stateful session beans or Stateless combined with entity beans
regarding enterprise beans
Why should we use Enity Beans?
business logic and ejb