S2Tx may also be integrated with JTA supported by WebLogic, WebSphere, or JBOSS. Component configuration(j2ee.dicon) is as follows:
<component name="initialContext" class="javax.naming.InitialContext"/><component name="transactionManager" class="org.seasar.extension.j2ee.JndiTransactionManager"> <arg>initialContext</arg> <arg>"javax.transaction.TransactionManager"</arg></component><component class="org.seasar.extension.j2ee.JndiDataSource"> <arg>initialContext</arg> <arg>"jndiName"</arg></component>
<component name="initialContext" class="javax.naming.InitialContext"/><component name="transactionManager" class="org.seasar.extension.j2ee.SingletonTransactionManager"> <arg>"com.ibm.ejs.jts.jta.JTSXA"</arg> <arg>"getTransactionManager"</arg></component><component class="org.seasar.extension.j2ee.JndiDataSource"> <arg>initialContext</arg> <arg>"jndiName"</arg></component>
<component name="initialContext" class="javax.naming.InitialContext"/><component name="transactionManager" class="org.seasar.extension.j2ee.SingletonTransactionManager"> <arg>"com.ibm.ejs.jts.jta.TransactionManagerFactory"</arg> <arg>"getTransactionManager"</arg></component><component class="org.seasar.extension.j2ee.JndiDataSource"> <arg>initialContext</arg> <arg>"jndiName"</arg></component>
<component name="initialContext" class="javax.naming.InitialContext"/><component name="transactionManager" class="org.seasar.extension.j2ee.JndiTransactionManager"> <arg>initialContext</arg> <arg>"java:/TransactionManager"</arg></component><component class="org.seasar.extension.j2ee.JndiDataSource"> <arg>initialContext</arg> <arg>"jndiName"</arg></component>