File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Persistence System Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Persistence System" Watch "Persistence System" New topic

Persistence System

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

To Authors,
Is JBoss uses Hibernate internally for Persisting CMPs?
Wiley Snyder

Joined: Oct 26, 2005
Posts: 23
Wiley, be nice. -- Marilyn
[ February 08, 2006: Message edited by: Marilyn de Queiroz ]
Tom Marrs
Ranch Hand

Joined: Sep 20, 2000
Posts: 67
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.

Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

EJB 2.1 CMP does not use Hibernate as its underlying technology.
S Davis
Ranch Hand

Joined: Feb 07, 2006
Posts: 40
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 (, 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.
I agree. Here's the link:
subject: Persistence System
It's not a secret anymore!