-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate or EJB3 ?
PostPosted: Wed Sep 06, 2006 12:05 pm 
Newbie

Joined: Wed Sep 06, 2006 10:06 am
Posts: 11
Location: Lisbon, Portugal
I'm evaluating Hibernate and EJB3 to migrate my application from EJB2.1.
At first the logic solution seems to be EJB3 but i'm seing that Hibernate provides an object cache and a built in object container, so what is the advantages/disavantages of having or not a container associated to my application?

Thank you,
António.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 06, 2006 3:42 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
EJB 3.0 is a specification.
One implementation of EJB 3.0 (the persistence part) is Hibernate EntityManager.
So use Hibernate as your EJB3 implementation

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 07, 2006 6:01 am 
Newbie

Joined: Wed Sep 06, 2006 10:06 am
Posts: 11
Location: Lisbon, Portugal
But what is the advantage of using an container like Jboss or using only the hibernate since it seems that hibernate allready has a built in container?

Thank's
António


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 8:45 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
EJB3 contains :
- a service container (ie session beans)
- a persistence provider (ie HEM)

EJB3 as a whole integrate nicely the persistence provider lifecycle and the service container

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.