Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistence System

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To Authors,
Is JBoss uses Hibernate internally for Persisting CMPs?
 
Wiley Snyder
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wiley, be nice. -- Marilyn
[ February 08, 2006: Message edited by: Marilyn de Queiroz ]
 
Tom Marrs
Author
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know about CMP under EJB 2.1, but I do know that JBoss uses Hibernate as the underlying persistence engine for EJB 3.0 CMPs.

Tom
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 2.1 CMP does not use Hibernate as its underlying technology.
 
S Davis
Author
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is an Object-Relational Mapper. So are Entity Beans. Entity Beans are a part of the J2EE spec -- Hibernate is not.

The EJB3 spec has been greatly influenced by the success of Hibernate (http://www.theserverside.com/news/thread.tss?thread_id=33450), but the two are not the same (regardless of how JBoss implements it under the covers).

The conclusion we came to in the book: EJB 2.1 CMP Entity Beans have fallen out of favor. Hibernate is catching a lot of buzz, but it is not spec-compliant. (We used it anyway.) EJB3 looks very interesting, but it won't be in mainstream use for another year or so.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic