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
For more information about JPA, JPA Coding, JPA Best Practices, and how to use JPA in Java web applications development, see the below slides
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.
- Java Persistence query language (JPQL): It is a simple and string-based language just like SQL used to query entities and their relationships.
- Criteria API: It is used to create type-safe queries using Java programming language APIs to query entities and their relationships from the database.
For more information about JPA, JPA Coding, JPA Best Practices, and how to use JPA in Java web applications development, see the below slides
Understanding from Arun Gupta
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.
ReplyDeletewww.imarksweb.org
Thanks for sharing your post
ReplyDeletewebsite development
Web development Company
Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
ReplyDeleteappvn app
Splitwise app
i wanted to know this answer and finally i got my answer from your article .thankyou for shareing such a beautifull articles.
ReplyDeleteprofessional-web-design-company
Love what you're doing here guys, keep it up!.. Web development belize
ReplyDeleteWith 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------------------------------
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.
ReplyDeleteThank you so much for sharing your articles with us. Hopefully, you will be able to benefit us with more informative article.
ReplyDelete-Custom Website Design
Your article is one of its kind which explained every bit of Create Your Own Website. looking for further valuable articles from you
ReplyDeleteThanks 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
ReplyDeleteNice Information. I really liked it and admire you for posting it on the internet for the benefit of a larger Audience.
ReplyDeleteMobile Performance Meter Hack
Amazing write-up! The blog was very informative. Keep it up!
ReplyDeleteCustom Web Development