I am newbie in transaction.

I have servlet,  and have two  methods which is
updating  the database.I want to put these two methods
 transaction(using
javax.transaction.UserTransaction),so that either of
these two methods commit or rollback collectively.,


Any sample code is for this is highly appreciated.

Thanks in advance.
suresh


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to