-->
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: Why Hibernate with J2EE when devoloping a web service?
PostPosted: Tue Mar 23, 2004 10:31 am 
Newbie

Joined: Tue Mar 23, 2004 10:24 am
Posts: 1
Hi,

I have searched the Hibernate forum and other sources to come to conclusion, but so far I have not found one.
So I would be glad to hear some opinion on that.

What it is the benefit of using J2EE beside distributed transactions, security and remote access?
I mean in order to have these advantages I still have to learn about EJBs (session beans) and have to know how to deploy them in an application server.

If I am using a web service I can directly access the Hibernate classes.

But if it is advisable to use J2EE do I have to implement any transaction code in the session bean and the Hibernate classes?

Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 10:34 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Thats your decision. EJB has declarative transaction management, our webservice stuff probably doesn't. This is all not really related to Hibernate, as we recommend our own Transaction interface for data access code, itcan be switched to either environment with a configuration setting.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 10:35 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
s/our webservice/your webservice

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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.