This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Best bean for persistance
 
Similar Threads
when to use entitybean
Why should we use Enity Beans?
Stateful session beans or Stateless combined with entity beans
regarding enterprise beans
business logic and ejb