JBossAS 4.2.0.CR2 released
JBoss 4.2やJBoss 5.xではデフォルトのトランザクション・マネージャとして(Arjuna/HPから買収した)JBoss Transactionが組み込まれます。やろうと思えば、実際に上の本で書かれているJTAやJTSのコンセプトをJBossTS実装上で確認できますね(上の本の著者のMark LittleはJBoss TSのLead developerです)。いつか、JBoss勉強会で、そんなこともやってみたいです。
* JBoss Transactions v4.2 is the default transaction manager for JBossAS 4.2. JBoss Transactions is founded on industry proven technology and 18 year history as a leader in distributed transactions, and is one of the most interoperable implementations available. The JTA version of JBoss Transactions included with the server provides for fully recoverable transactions. For distributed transaction support the JTS version of JBoss Transactions will need to be used. Furthermore, it is always possible to fall back to the legacy JBossTM fast in-memory transaction manager implementation, if necessary.
JBoss 4.2CR2を起動すると次のようにログに書かれています。
00:02:31,650 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 00:02:31,650 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 00:02:32,994 INFO [TransactionManagerService] Starting recovery manager 00:02:33,400 INFO [TransactionManagerService] Recovery manager started 00:02:33,400 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
ちなみに、管理コンソールで見てみたら、JBoss 4.2のVersion NameはTrinityでした :-)