O'Reilly logo

Spring Data by Petri Kainulainen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Getting Started with Spring Data Redis

Before the Spring Data Redis project was born, a normal way to communicate with Redis was to use client libraries that can be compared to the JDBC drivers of relational databases. The difference is that these clients do not implement a standard API that makes it hard to switch from one connector to another. Obviously, the million-dollar question is, how can Spring Data Redis make our life easier?

Spring Data Redis hides the APIs of different client libraries behind a single API that is clean and easy to use. In theory, this ensures that we can change the used Redis connector without making any changes to our application. Even though this is indeed a useful feature if we have to change the used connector, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required