-->
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: tomcat/jotm/hibernate combination ?
PostPosted: Fri Sep 26, 2003 7:16 am 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
Hellu,

I finally got the time to setup a configuration without Jboss, and I like to have some advice on the following design issues.

I was thinking about a combination of tomcat/jotm/hibernate. Configure jotm in tomcat like documented and let hibernate use it through a jndi lookup.

However I still have some uncertains about the design that have to found out. Here is one of them:
1) Why should I use Jotm ? I mean, I could just use the build-in JTA of hibernate. What extra does Jotm offer me and how does it behave ?


Is there a demo application that contains about the same items I am looking at (couldn't find it 123).

Please some feedback ?

Ed Bras


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2003 3:39 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
A clarification: Hibernate transactions are not JTA transactions. Hibernate transaction only span the database connection underlying the session from which you got the transaction.

JOTM is a JTA and (I believe XA) compliant transaction manager. JTA is simply a generic transaction demercation API. It can be applied to any jta-based "resource manager" such as jdbc, jms, etc. And if XA enabled, it can even cordinate transactions between these various resource managrs.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2003 8:25 pm 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
OK, I got it.

Tx Steve,
Ed


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.