Chapter 1. Getting Started
In this book, we will concentrate on two specific subprojects that offer support for Java Persistence API 2.0 and the Redis key-value store. But before we get to the point, we need to get a brief introduction to both the technologies. We need to do this for two reasons:
First, if we want to truly understand the benefits of Spring Data JPA, we need to have an idea on how database queries are created when the standard API is used. As soon as we compare these code samples to a query creation code that uses Spring Data JPA, its benefits are revealed to us.
Second, the basic knowledge about the Redis key-value store will help us to understand the second part of this book which describes how we can use it in our applications. After all, we should be familiar with any technology that we use in our applications. Right?
In this chapter, we will cover the following topics:
The motivation behind the Java Persistence API
The main components of the Java Persistence API
How we can create database queries with the Java Persistence API
The data types supported by the Redis key-value store.
The main features of the Redis key-value store.