| S2のJTAとコネクションプールではなく、WebLogic、WebSphere、JBossのJTAとコネクションプールを使いS2Txと連動させることもできます。コンポーネントの定義(j2ee.dicon)はは次のとおりです。 ## WebLogic
    <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>
## WebSphere4
    <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>
## WebSphere5
    <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>
## Oracle10gAS
    <component name="initialContext" class="javax.naming.InitialContext"/>
    <component name="transactionManager"
        class="org.seasar.extension.j2ee.JndiTransactionManager">
        <arg>initialContext</arg>
        <arg>"java:comp/UserTransaction"</arg>
    </component>
    <component
        class="org.seasar.extension.j2ee.JndiDataSource">
        <arg>initialContext</arg>
        <arg>"jndiName"</arg>
    </component>
## JBoss
    <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>
| Copyright© 2004-2005, The Seasar Foundation and the others. All rights reserved.