Spring Data

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.
Preview in Mapt

Spring Data

Petri Kainulainen

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.

Quick links: > What will you learn?> Table of content

eBook
$5.00
RRP $17.99
Save 72%
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$5.00
$24.99
RRP $17.99
RRP $24.99
eBook
Print + eBook

Frequently bought together


Spring Data Book Cover
Spring Data
$ 17.99
$ 5.00
Hibernate Search by Example Book Cover
Hibernate Search by Example
$ 17.99
$ 5.00
Buy 2 for $10.00
Save $25.98
Add to Cart

Book Details

ISBN 139781849519045
Paperback160 pages

Book Description

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

Chapter 1: Getting Started
Java Persistence API
Redis
Summary
Chapter 2: 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
Chapter 3: Building Queries with Spring Data JPA
Building queries
Sorting query results
Paginating query results
Summary
Chapter 4: Adding Custom Functionality to JPA Repositories
Adding custom functionality to a single repository
Adding custom functionality to all repositories
Summary
Chapter 5: Getting Started with Spring Data Redis
Installing Redis
Getting the required dependencies
Configuring the Spring application context
Configuring the Redis connection
Summary
Chapter 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

What You Will Learn

  • Configure your application by using Java configuration
  • Manage the information of your entities through repository interfaces
  • Learn efficient and easy ways to create database queries
  • Use an easy way to sort and paginate query results
  • Customize your JPA repositories with custom functions
  • Install Redis to a computer running Unix-like operating system
  • Use the Redis key-value store as the data storage for your application
  • Utilize the Redis publish/subscribe messaging pattern implementation

Authors

Table of Contents

Chapter 1: Getting Started
Java Persistence API
Redis
Summary
Chapter 2: 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
Chapter 3: Building Queries with Spring Data JPA
Building queries
Sorting query results
Paginating query results
Summary
Chapter 4: Adding Custom Functionality to JPA Repositories
Adding custom functionality to a single repository
Adding custom functionality to all repositories
Summary
Chapter 5: Getting Started with Spring Data Redis
Installing Redis
Getting the required dependencies
Configuring the Spring application context
Configuring the Redis connection
Summary
Chapter 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

Book Details

ISBN 139781849519045
Paperback160 pages
Read More

Read More Reviews

Recommended for You

Hibernate Search by Example Book Cover
Hibernate Search by Example
$ 17.99
$ 5.00
Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile Book Cover
Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile
$ 26.99
$ 5.00
Responsive Media in HTML5 Book Cover
Responsive Media in HTML5
$ 14.99
$ 5.00
Raspberry Pi Home Automation with Arduino Book Cover
Raspberry Pi Home Automation with Arduino
$ 17.99
$ 3.60
Learn HTML5 by Creating Fun Games Book Cover
Learn HTML5 by Creating Fun Games
$ 29.99
$ 5.00
HTML5 Web Application Development By Example : Beginner's guide Book Cover
HTML5 Web Application Development By Example : Beginner's guide
$ 26.99
$ 5.00