Websphere to Jboss migration

余生颓废 提交于 2019-12-25 01:56:02

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/16767550/websphere-to-jboss-migration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!