Friday, 30 June 2017

Performing CRUD Operations using JPA

In this fourth and concluding part of the tutorial series, I show you how to perform CRUD (Create, Read, Update, and Delete) operations using JPA taking a simple but useful application called Contact Database. The tutorial makes use of Servlet and JSP technologies and Java DB database with Netbeans 8.2 IDE.

Overview of the Application

In this application, you will develop a contact database to perform operations such as create, search, update and delete contacts.  The application utilizes MVC (Model View Controller) pattern in design of operations wherein the entity class of JPA acts as model, JSP is used for view and Servlet is used for controller components.  The components of this application are shown in Figure-1.

Components of Contact Application
Figure-1: Components of Contact Application


Share:

Related Posts:

  • Simple Database Application using JPA This tutorial is the third part in the series and shows you how to create a simple database application using JPA.  You can perform data inser… Read More
  • Performing CRUD Operations using JPA In this fourth and concluding part of the tutorial series, I show you how to perform CRUD (Create, Read, Update, and Delete) operations using JPA ta… Read More
  • Managing Entities in JPA In part-1 of this series, I just introduced JPA. In this post, I discuss on the life of an entity and briefly explain how to query entities using JP… Read More
  • Understanding JPA This is the first part of a series of posts on JPA. In this post, I provide a concise introduction to this technology. Go through it, so that you c… Read More

0 comments:

Post a Comment