• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction API - Implementation in Java 1.4?

 
Robert Paris
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write some code that works with transactions and I wanted to use the Java API for transactions. I have a few questions on it though:
1. Does the JDK 1.4 include a transaction manager implementation?
2. Is this API the best way for me to program for transactions?
3. What's a good/free transaction manager if the API does not have one?
4. Are there any tutorials for working with the transaction API?
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For simple database transactions, use java.sql.Connection
methods:
commit
rollback
setAutocommit
For sophisticated transaction management, please read http://jinx.swiki.net/336
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!