what are the advantages of JTA over JTS?
A. JTA (JAVA TRANSACTION API) is more flexible and simple to use by the programer .The JTA API is divided into two parts a)high-level X/Open Call Level Interface(CLI) b)low-level XA Call Level Interface(CLI) As a programmer using JTA he has to concentrate on high-level x/open interface .The low-level XA operations are taken care by the server which is giving the implementation to JTA API. The user will never perform XA operations directly.This makes the user more simple to manipulate with transactions.