-2

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 .

Sergio
  • 8,532
  • 11
  • 52
  • 94

1 Answers1

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.