• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Persistence System

 
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To Authors,
Is JBoss uses Hibernate internally for Persisting CMPs?
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wiley, be nice. -- Marilyn
[ February 08, 2006: Message edited by: Marilyn de Queiroz ]
 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 293
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB 2.1 CMP does not use Hibernate as its underlying technology.
 
Author
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic