what are the advantages of JTA over JTS?



what are the advantages of JTA over JTS?..

Answer / Mahendra Pal Gautam

JTA (Java Transaction API) offers several advantages over JTS (Java Transactions System): 1. Simplified programming model: JTA provides a higher-level, more intuitive programming model for transaction management compared to JTS. 2. Vendor independence: JTA is vendor-independent, allowing applications to run on multiple platforms and transaction managers without modification. 3. Two-phase commit protocol: JTA supports the two-phase commit protocol, which helps ensure data consistency across multiple resources in a distributed system.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Name three subclasses of the component class?

1 Answers  


What are externizable interface?

1 Answers  


Can I run seam with jdk 1.4 and earlier?

1 Answers  


Why do threads block on i/o?

1 Answers  


Why threads will block on I/O?

2 Answers  


What is preemptive and Non-preemptive Time Scheduling?

6 Answers   Cognizant,


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,


What is a layout manager?

2 Answers  


how do you Handle Front End Application data against DB with example?

1 Answers   Campus Interaction, HCL,


What are different types of controls in AWT?

11 Answers   IBM,


What do you mean by Socket Programming?

1 Answers  


Difference between JRE and JVM?

3 Answers   HeadStrong, Infotech,


Categories