From the course: Learning Java Enterprise Edition

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

JPA introduction

JPA introduction - Java EE Tutorial

From the course: Learning Java Enterprise Edition

Start my 1-month free trial

JPA introduction

- [Instructor] In this video, we'll discover that business pages can be configured to be JPA data entities. These entities can be mapped and modeled via the appropriate use of annotations, and that there are various ways in which to interact with the data store. We are staying at the data access layer, and we'll look at how we can make an application communicate with a database. We want to be able to define a data structure and persist and retrieve data to and from the database. JPA is a powerful API that provides a wide range of services that allow us to do just that. Okay, so let's get started. So what is JPA? Well, it's an object relational mapping framework solution. It's quite a high level API, which means that all you have to do to create your business entities and annotate them with the appropriate domain modeling and relationship mapping annotations, and you have yourself an entity mapped to a database. JPA will take care of the hard work of actually making the mappings work…

Contents