# The Java EE 7 Tutorial

# 38 Running the Persistence Examples

This chapter explains how to use the Java Persistence API. The material here focuses on the source code and settings of three examples. The first example, `order`, is an application that uses a stateful session bean to manage entities related to an ordering system. The second example, `roster`, is an application that manages a community sports system. The third example, `address-book`, is a web application that stores contact data. This chapter assumes that you are familiar with the concepts detailed in Chapter 37, "Introduction to the Java Persistence API".

The following topics are addressed here:

- The order Application

- The roster Application

- The address-book Application