aspose file tools
The moose likes Distributed Java and the fly likes Transaction Management Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Transaction Management" Watch "Transaction Management" New topic
Author

Transaction Management

vishal sodani
Ranch Hand

Joined: Aug 26, 2000
Posts: 127
Hi,
i want to develop a client-server application,without using J2EE.How can I manage transactions,if I use RMI and JDBC
thanks
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1112

Hi Vishal,
If you're talking about database transaction management, then (in my opinion) a simple form of transaction management is using the methods "setAutoCommit()","commit()" and "rollback()" in class "java.sql.Connection" -- assuming your database and JDBC driver support it.
If I remember correctly, there is an example of using these methods in the Java Tutorial
http://java.sun.com/docs/books/tutorial/jdbc/index.html
Hope this helps you.
Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Management
 
Similar Threads
Cant use object from another class
Posting to bump up my count...
WA #1.....word association
The x900 effect ?
Text box value is not being completely filled with request attribute