Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Alternative to Entity Bean  RSS feed

 
Raj Jindal
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the alternative to Entity bean. In other words, Is thre any other component that can provide persistence or the same facilities as that of Entity bean.
 
Alex
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDO is a good bet!
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by raj jindal:
What is the alternative to Entity bean.

Another good option is Hibernate.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ORM tools are catching up fast....
Ranch has a separate forum for the ORM tools, but I am afraid there aren't many posts there, so I am inclined to assume that the ORM tools haven't replaced Entity beans altogether in the industry
Object Relational Mapping tools forum
 
sever oon
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or there's always good old POJOs--that's Plain Old Java Objects. You could simply write a POJO that uses JDBC.
sev
 
john smith
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd never use Entity Beans. They are, by far, the worst aspect of J2EE. On past projects I've used straight JDBC, JDBC through a variety of DAO frameworks, Toplink, JDO and the (excellent) Hibernate. Given the design choice - I'd probably normally go for Hibernate.
It's worth noting that JBoss will ship with Hibernate as standard come the next release. Also JDO covers all the same ground as Entity Beans, but with mnuch less hassle, so you do begin to wonder how much longer Sun will be pushing Entity Beans as the persistance layer of choice, given their many, well-documented shortcomings.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!