Announcement Announcement Module
Collapse
No announcement yet.
Spring 3 + JTA + JOTM + JMS + Hibernate ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3 + JTA + JOTM + JMS + Hibernate ?

    Hi everybody,

    I would like to know how Spring JTA, JOTM, datasources and JMS interact each others.

    In fact, i have severals application servers (5.15) and i wish to share transactions between theses servers. I configured my application context as following:

    [...]
    <!-- get ow2 jotm implementation object -->
    <bean id="jotm" class="org.springframework.jndi.JndiObjectFactoryB ean" >
    <property name="jndiTemplate">
    <ref bean="jndiTemplate" />
    </property>
    <property name="jndiName" value="javax.transaction.UserTransaction"/>
    </bean>
    <!-- JTA Transaction manager -->
    <bean id="JOTMTransactionManager"
    class="org.springframework.transaction.jta.JtaTran sactionManager">
    <property name="transactionManager" ref="jotm" />
    </bean>
    [..]

    For hibernate Transaction Manager, i use org.springframework.orm.hibernate3.HibernateTransa ctionManager, and no transaction manager for JMS (Joram). Cross transactions seems to work with 3 servers but i really want to understand the internal process.

    can someone explain me about that.

    Thanks
Working...
X