What is Java Persistence API (JPA)

The JPA (Java Persistence API) is a Java programming language framework for managing the relational data in java applications using Java SE (Java Platform Standard Edition) and Java EE (Java Platform Enterprise Edition). JPA is the standard persistence API for Java. JPA used the best ideas from persistence technologies like Hibernate, TopLink, and JDO. JPA simplifies the Java EE Web applications development and Java SE desktop applications development using data persistence and new stable features.


May Java developers ask a question about JPA "Why JPA? Why do I need to know how to use this API when object-relational mapping tools like Hibernate and Toplink are already available?"

The answer to this question is that JPA is not a new persistence technology rather it is built on the best ideas from existing persistence technologies like TopLink, Hibernate and JDO Java Data Object. As a result, JPA is a standardized specification that helps to build a persistence layer in java applications that is independent of any particular persistence provider.

JPA provides Java developers with an object / relational mapping facility for managing relational data in their Java desktop applications and Java EE web applications. JPA, Java Persistence consists of four areas which are mentioned below
  • The Java Persistence API
  • The query language
  • The Java Persistence Criteria API
  • Object / relational mapping metadata

There are the following two methods in JPA for querying entities from the database.
  1. Java Persistence query language (JPQL): It is a simple and string-based language just like SQL used to query entities and their relationships.
  2. Criteria API: It is used to create type-safe queries using Java programming language APIs to query entities and their relationships from the database.

What is JPA, Java Persistance API. J2ee JPA, Java EE tutorial, Persistence technogies, Java Persistence, j2ee web applications development, Java web applications development using JPA, java web action, java webaction, javawebaction
 
For more information about JPA, JPA Coding, JPA Best Practices, and how to use JPA in Java web applications development, see the below slides






12 Comments

Please enter relevant questions and information.

  1. Thank you for another fantastic write-up. It is always great when you can not only be informed, but also entertained I’m sure you had fun writing this post.

    www.imarksweb.org

    ReplyDelete
  2. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    appvn app
    Splitwise app

    ReplyDelete
  3. i wanted to know this answer and finally i got my answer from your article .thankyou for shareing such a beautifull articles.
    professional-web-design-company

    ReplyDelete
  4. With pay per click package in singapore, it is possible to steer your PPC spending towards profitable keywords and phrases, as your SEO campaign is ramping up in the first few months.
    ------------------------------

    ReplyDelete
  5. Because pay per click package in singapore bundle in singapore gives you instant results, it is an important addition to your organic search (SEO) efforts by providing you with a traffic stream while optimizing your website.

    ReplyDelete
  6. Thank you so much for sharing your articles with us. Hopefully, you will be able to benefit us with more informative article.
    -Custom Website Design

    ReplyDelete
  7. Your article is one of its kind which explained every bit of Create Your Own Website. looking for further valuable articles from you

    ReplyDelete
  8. Thanks meant for sharing this type of satisfying opinion, written piece is fastidious, that’s why I’ve read it completely.Custom Websites For Small Businesses

    ReplyDelete
  9. Nice Information. I really liked it and admire you for posting it on the internet for the benefit of a larger Audience.
    Mobile Performance Meter Hack

    ReplyDelete
  10. Amazing write-up! The blog was very informative. Keep it up!
    Custom Web Development

    ReplyDelete
Previous Post Next Post