What is the main difference between Java Persistence API(JPA) and the Java Transaction API(JTA). I read these two terms in Java EE 7 .
Asked
Active
Viewed 308 times
-2
-
1they are two completely different API's. The only thing they have in common is they are part of Java EE. – Andy Guibert Dec 20 '15 at 19:58
-
1`and the Java Transaction API(JTA)` You wrote Java Persistence API twice. – thatsIch Dec 29 '15 at 14:13
1 Answers
0
JPA is an object-relational mapping tool that allows mapping between entity objects which are classes with their corresponding tables and their attributes in the database. Whereas JTA is a tool that allows you to make multiple transactions in multiple schema.

Usman_Enterprise_Developer
- 120
- 1
- 10