When I was asked to write a book about Spring Data by Packt Publishing, I was stunned. To be honest, I could not believe that this was happening to me. I know that this is a huge cliche but it felt like a dream. I almost had to pinch myself to ensure that I was awake. And today, after months of hard work, I am proud to announce that my Spring Data book is published.
All Theory And No Play
I have read my share of programming books and noticed that many of them have two common problems:
- The book is all about theory. These books are great if you want to impress your buddies and seem smarter than you really are. However, if you want to actually learn something, it can be hard to apply the theory to practice.
- The sample code of the book is considered only as a byproduct. In other words, the sample projects might be messy and it can be hard to run them. I learn by doing and books like this won’t allow me to make small modifications to the sample code and see what happens. I hate this.
I wanted to do something different. Spring Data is a practical hands-on guide and it includes only the theory that is absolutely necessary. As an additional bonus, you receive fully functional example applications that demonstrate the topics covered in this book.
The Power of Two
As Chinese say, good things come in pairs. This book is no exception and it has two parts:
The first part is an "improved edition" of my Spring Data JPA tutorial. It teaches you to manage your entities and create database queries in an easy and productive way. The best part is that you can do this with less code than ever before. If you liked my Spring Data JPA tutorial, I promise that you will love the first part of my book.
The second part describes how you can use Redis key-value store in your Spring powered applications. You learn to use Redis as a data storage of your application, send and receive messages by using the Redis Publish/Subscribe implementation and use the Spring 3.1 cache abstraction with Redis. If you want to use Redis in your applications, the second part of my book will help you to get started in no time.
Don't Take My Word for It!
Still not sure if this a book for you? You are in luck because you don't have to take my word for it. These people have read the book and published their reviews:
- "Overall, Spring Data from Packt Publishing is a solid book that I recommend to everyone to read." - Mark Serrano
- "I will give this book 4 stars out of 5. The book is Brief but take the reader to learn how to use Spring Data using a well crafted and compact application." - Luis Peña
- "The book cover well both topics, the code is well written, but have some oddities" - Mario Arias
Buy Spring Data
I have one more request for you:
If you think that my book is useful to you, could you do me a favour and help me to spread the word? It would mean the world to me.
P.S. If you have any questions or comments concerning this book, feel free to leave a comment. I promise that I will answer to every comment.