Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Spring Data

You're reading from  Spring Data

Product type Book
Published in Nov 2012
Publisher Packt
ISBN-13 9781849519045
Pages 160 pages
Edition 1st Edition
Languages
Author (1):
Petri Kainulainen Petri Kainulainen
Profile icon Petri Kainulainen
Toc

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, it would be naive to claim that we should start using Spring Data Redis only because of this feature. We have to remember that we will most likely stick with one Redis connector throughout the life cycle of our application.

However, we must...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime}