Websphere to Jboss migration

2019-09-16 17:04发布

I need to migrate one of my application from Websphere(6.1) to JBoss (EAP 5.1) . Application is now using the following code to get the WebsphereTransactionManager object and perform suspend and resume operations

com.ibm.ws.Transaction.WebSphereTransactionManager txMgr = com.ibm.ws.Transaction.TransactionManagerFactory.getTransactionManager(); javax.transaction.Transaction thisTx = null;

thisTx = txMgr.suspend();

// Code to do non transactional operations

txMgr.resume(thisTx);

How could I get a TransactionManager Object in Jboss? Any sample code please?

标签: java-ee jboss
1条回答
Juvenile、少年°
2楼-- · 2019-09-16 17:34

You can leverage JBoss Windup (http://windup.jboss.org) to help you with this and other migration questions. Just run Windup on your source or archive. Check out the videos under Guides section for more help.

查看更多
登录 后发表回答