PacktLib: Spring Data

Spring Data

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started

Java Persistence API

Redis

Summary

Getting Started with Spring Data JPA

Downloading dependencies with Maven

Configuring the Spring application context

Loading the application context configuration

Implementing CRUD functionality for an entity

Summary

Building Queries with Spring Data JPA

Building queries

Sorting query results

Paginating query results

Summary

Adding Custom Functionality to JPA Repositories

Adding custom functionality to a single repository

Adding custom functionality to all repositories

Summary

Getting Started with Spring Data Redis

Installing Redis

Getting the required dependencies

Configuring the Spring application context

Configuring the Redis connection

Summary

Building Applications with Spring Data Redis

Designing a Redis data model

Key components

Implementing a CRUD application

The publish/subscribe messaging pattern

Using Spring cache abstraction with Spring Data Redis

Summary

Index