These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Does Hibernate equal to ejb?
PostPosted: Wed Sep 21, 2005 10:20 pm 
Newbie

Joined: Tue Sep 13, 2005 10:14 pm
Posts: 7
[b]Hibernate version:3

As Hibernate can be a layer between Struts Action and database,
is it true that using Hibernate is equal to using ejb?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 21, 2005 10:23 pm 
Newbie

Joined: Tue Sep 13, 2005 10:14 pm
Posts: 7
I should not say "equal to".
should be "more or less the same"

Does Hibernate function "more or less the same as" ejb?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 21, 2005 11:21 pm 
Regular
Regular

Joined: Sat Aug 28, 2004 4:15 pm
Posts: 61
Is Hibernate 3 the same as EJB 3's persistence spec or EJB 2.x entity beans? I assume that is the question.

--------
Well, if you look at it from the 50,000 foot view that these are mechanisms to help you store and retrieve info with a relational database then yes, they are the exact same thing.
--------

If you look at it from the standpoint of does Hibernate, EJB 3 persistence spec, EJB 2.x support object relational mapping then you could say

Hibernate 3 - an ORM solution
EJB 3 persistence spec - a substantial subset of Hibernate 3 capability
EJB 2.x - not ORM, more like relational objects. This isn't necessarily a bad thing, it depends on your situation.

_________________
Joe W


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.