Product SiteDocumentation Site

JBoss Transactions 4.16

Development Guide

Development reference guide for the JBoss Transactions suite of software

Edition 0

Mark Little

Red Hat

Jonathan Halliday

Red Hat

Andrew Dinn

Red Hat

Kevin Connor

Red Hat

Edited by

Misty Stanley-Jones

Red Hat

Legal Notice

Copyright © 2011 JBoss.org.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other trademarks are the property of their respective owners.
Abstract
Development reference guide for the JBoss Transactions suite of software

Preface
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. Getting Help and Giving Feedback
2.1. Do You Need Help?
2.2. Give us Feedback
1. About This Guide
1.1. Audience
1.2. Prerequisites
2. Transactions
2.1. The Java Transaction API (JTA)
2.2. Introducing the API
2.3. UserTransaction
2.4. TransactionManager
2.5. Suspend and resuming a transaction
2.6. The Transaction interface
2.7. Resource enlistment
2.8. Transaction synchronization
2.9. Transaction equality
2.10. TransactionSynchronizationRegistry
3. The Resource Manager
3.1. The XAResource interface
3.1.1. Extended XAResource control
3.2. Opening a resource manager
3.3. Closing a resource manager
3.4. Thread of control
3.5. Transaction association
3.6. Externally controlled connections
3.7. Resource sharing
3.8. Local and global transactions
3.9. Transaction timeouts
3.10. Dynamic registration
4. General Transaction Issues
4.1. Advanced transaction issues with TxCore
4.1.1. Checking transactions
4.1.2. Gathering statistics
4.1.3. Asynchronously committing a transaction
4.1.4. Transaction Logs
5. Tools
5.1. ObjectStore command-line editors
5.1.1. LogEditor
5.1.2. LogBrowser
6. Configuration options
6.1. Loading a configuration
6.2. ArjunaCore Options
6.3. JBossJTA Configuration options
6.4. JBossJTS Options
A. Revision History