What do you understand by JTA and JTS?

By: Karthik  

Answer: JTA stands for Java Transaction API and JTS stands for Java Transaction Service. JTA provides a standard interface which allows the developers to demarcate transactions in a manner that is independent of the transaction manager implementation. The J2EE SDK uses the JTA transaction manager to implement the transaction. The code developed by developers does not calls the JTS methods directly, but only invokes the JTA methods. Then JTA internally invokes the JTS routines. JTA is a high level transaction interface used by the application code to control the transaction.



Most Viewed Articles (in Interview )

Interview Question: Can i map more than one table in a CMP?

Explain the new Features of JDBC 2.0 Core API?

How to define an Abstract class?

Interview Question: What are the call back methods in Entity bean?

What is the difference between jsp:include page and @ include file?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Interview Question: What is the difference between JavaBean and EJB?

Interview Question: What is abstract schema?

Interview Question: What is local interface. How values will be passed?

Interview Question: What is Message Driven Bean?

Interview Question: What is the difference between EAR, JAR and WAR file?

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

Interview Question: What is the difference between sessioncontext and entitycontext?

Interview Question: Is Decorator an EJB design pattern?

Interview Question: How many EJB Objects are created for a Bean?

Latest Articles (in Interview)

Comment on this tutorial