java - How to do XA transaction which includes JDBC and JMS transactions? -
i need xa transaction in javase jdbc , jms queues.
i have weblogic server lookup resources.
could me sample code?
i can't provide code, must keep these things in mind when doing two-phase commit jdbc , jms resources in weblogic...
jms general settings
- configure jmsconnection factory use: weblogic.jms.xaconnectionfactory
jdbc general settings
- configure jdbc connection pool use xa-compliant jdbc driver.
from code perspective, either control transaction mdb or spring bean transaction annotations; j2ee containers handle global commit/rollback.
Comments
Post a Comment