Home

OLL Mobile

FAQ

Using Java Persistence API for Java SE 7 Desktop applications in NetBeans 7- Part 2

General Information

  • This example demonstrates implementing CRUD database operations using  Java Persistence API  for desktop applications.

    The Java Persistence API provides Java developers with an object/relational mapping facility for managing relational data in Java applications. Some of the features of JPA are

    • You won't have to create complex data access objects (DAO).
    • The API helps you manage transactions.
    • JPQL is database agnostic, freeing you from vendor-specific code.
    • JPQL is portable whereas SQL is not.
    • You can avoid SQL in preference to a query language, JPQL that uses your class names and properties.
    • You can also use the Java Persistence API for desktop application persistence.

    In this tutorial, you will create java client programs to demonstrate the following CRUD operations- Retrieve, Update and Delete operations using Entity clases. The Create operation is covered in Using Java Persistence API for Java SE 7 Desktop applications in NetBeans 7- Part 1.

    Release Date: 18-Jan-13

    Duration: 45 minutes

    Credited To: Anjana Shenoy

    No Flash Plugin Needed

Other Related Products

Visit the Full Site | About Oracle | Contact Us | Terms of Use