| 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.
|
 |
 |
|
|
subject: Transaction Management
|
|
|