Hi all,
  I have two question about transaction!
  1  When transaction begin, should enlistResource. When transaction finished, should
     delistResource. But in program, call delistResource beofre commit. I think this
     should called after commit(I know JTA specifaction say should delistResource before commit).
     I want to know why call delistResource before commit, not after! Because I think
     after commit, Transaction finished.
  2  If local transaction, Transaction commit can current. But if distributed transaction,
     Transaction commit is synchronized. Could tell me why?
 
Any help would be greatly appreciated.
Thank you very much.


regards,
launce

Reply via email to