Book description
Want to make it easier to implement data access with your Spring-powered applications? Then this is the book you need. A complete tutorial to Spring Data, it makes learning easier with lots of code examples and clear instructions.
- Implement JPA repositories with lesser code
- Includes functional sample projects that demonstrate the described concepts in action and help you start experimenting right away
- Provides step-by-step instructions and a lot of code examples that are easy to follow and help you to get started from page one
In Detail
Spring Framework has always had a good support for different data access technologies. However, developers had to use technology-specific APIs, which often led to a situation where a lot of boilerplate code had to be written in order to implement even the simplest operations. Spring Data changed all this. Spring Data makes it easier to implement Spring-powered applications that use cloud-based storage services, NoSQL databases, map-reduce frameworks or relational databases.
"Spring Data" is a practical guide that is full of step-by-step instructions and examples which ensure that you can start using the Java Persistence API and Redis in your applications without extra hassle.
This book provides a brief introduction to the underlying data storage technologies, gives step-by-step instructions that will help you utilize the discussed technologies in your applications, and provides a solid foundation for expanding your knowledge beyond the concepts described in this book.
You will learn an easier way to manage your entities and to create database queries with Spring Data JPA. This book also demonstrates how you can add custom functions to your repositories. You will also learn how to use the Redis key-value store as data storage and to use its other features for enhancing your applications.
"Spring Data" includes all the practical instructions and examples that provide you with all the information you need to create JPA repositories with Spring Data JPA and to utilize the performance of Redis in your applications by using Spring Data Redis.
Table of contents
-
Spring Data
- Table of Contents
- Spring Data
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Started
- 2. Getting Started with Spring Data JPA
-
3. Building Queries with Spring Data JPA
- Building queries
- Sorting query results
- Paginating query results
- Summary
-
4. Adding Custom Functionality to JPA Repositories
- Adding custom functionality to a single repository
- Adding custom functionality to all repositories
- Summary
- 5. Getting Started with Spring Data Redis
-
6. 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
Product information
- Title: Spring Data
- Author(s):
- Release date: November 2012
- Publisher(s): Packt Publishing
- ISBN: 9781849519045
You might also like
book
Spring Data
You can choose several data access frameworks when building Java enterprise applications that work with relational …
book
Just Spring Data Access
JDBC has simplified database access in Java applications, but a few nagging wrinkles remain—namely, persisting Java …
video
Spring Data for Java Developers
In this Spring Data for Java Developers training course, expert author Kevin Bowersox will teach users …
book
Java Persistence with Spring Data and Hibernate
Master Java persistence using the industry-leading tools Spring Data and Hibernate. In Java Persistence with Spring …