• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

General architecture question about Hibernate

 
Alan W. Smith
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is an object relationaly mapping framework that serves as a persistence solution, which is what entity beans does as well. So are they mutually exclusive? Or can I somehow ease the development of entity beans with hibernate?
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are not mutually exclusive. You can use Hibernate instead of straight JDBC to persist data inside a BMP entity bean.
 
manuel aldana
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, i would avoid entity beans (from ejb spec. <=2.1) completely and migrate to hibernate.

if you applied the data-access-object pattern, this should not be a problem at all. you still can use ejb session-beans when you use hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic