Monday, November 26, 2012

Book Review: Spring Data

I'm currently reviewing the book Spring Data from Packt Publishing. You can find the book at http://www.packtpub.com/spring-data/book.

Overview
This book is about Spring Data JPA and Spring Data Redis

  • 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


Full review
My initial impression of this book is that it's too short and lacks full coverage because it only focuses on Spring Data JPA and Spring Data Redis. We all know how big the Spring Data umbrella projects are. But it turns out this is the strength of the book. By focusing on a subset of Spring Data umbrella projects, it's able to focus better on what matters most.

As I read the book, I slowly realized that this book is a gem. If you need a solid understanding of Spring Data JPA, read this book. It tells you step-by-step all the possible query technologies, usage patterns, and their pros and cons. The book gradually prepares the reader to the value of Spring Data.

The Spring Data JPA coverage is quite extensive. It teaches you how to download and install the necessary libraries. Configuration is based on programmatic configuration instead of the usual XML configuration files. I think this is good but also bad. It would be great if the book offers sample configuration both in XML and Java-based config. Since most users are familiar with XML configuration, translating from Java-based config would require extra effort to comprehend for most Spring users. Anyway, that's a minor weakness that we can live-up with.

The book is successful in demonstrating how to provide CRUD support through Spring Data JPA and how to implement your own custom repository. There are various way to perform queries in Spring Data JPA, and I think the book has managed to cover all of them, including QueryDSL.

The book's coverage on Spring Data Redis is extensive. It covers installation and configuration, connector types, Redis data structures, and of course, Spring Data support for Redis. The book teaches how to save relational data and perform CRUD operations in a NoSQL manner. It also covers messaging and caching support with Redis. Overall it's a pleasant read. It's interesting how the book has smoothly transitioned from Spring Data JPA to Redis.

Overall, Spring Data from Packt Publishing is a solid book that I recommend to everyone to read.
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google I'm reading: Book Review: Spring Data ~ Twitter FaceBook

Subscribe by reader Subscribe by email Share

14 comments:

  1. The book is short but very concise, I feel it lacks "an advanced" part, or could be a second book, regarding Java config, I don't think it was too bad at all, in the contrary, Java configs you give freedom while XML encapsulates you to old Spring configs, I have had to integrate Spring few times to projects where Spring has no control (some factories outside Spring control) and where you want more flexibility code wise, it is easier to figure out the XML from a Java config, the opposite not so much.

    An observation, you recommended the publisher and not the author? I honestly don't understand the reasons behind such recommendation. Where do you think the content came from? Petri or Packt? Have you seen the tutorials behind published by the author?

    ReplyDelete
    Replies
    1. Nevermind, I misread the last comment, you recommended the book which is the actual material, forget what I said about the publishing stuff.

      Delete
  2. Hi Mark,

    I wanted to thank you personally for taking the time to review my book. This is my first book and it is interesting to see what people think about it. Also, if you have any thoughts about additional content that was missing from this book, feel free to contact me.

    ReplyDelete
    Replies
    1. Petri, it's my pleasure to review your book :-) I enjoyed reading it. I'll let you know if there are extra content that might be worth adding.

      Delete
  3. I am searching for general benchmarks for performance of SPRING DATA. Is there some blog or articles on performance of Spring Data JPA vs just OpenJPA?

    ReplyDelete
  4. please send me(way2chandrasekhar@gmai.com) the E-BOOK.pdf

    ReplyDelete
  5. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    core java training in Electronic City

    Hibernate Training in electronic city

    spring training in electronic city

    java j2ee training in electronic city

    ReplyDelete
  6. As spring information Many people like it and read it. I'm interested in reading this as well. For anyone who likes this can read it. Gclub

    ReplyDelete
  7. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care
    http://onlinejobsupport.net/job-support/workday-online-job-support/
    http://onlinejobsupport.net/job-support/hadoop-online-job-support/
    http://onlinejobsupport.net/job-support/reactjs-online-job-support/
    http://onlinejobsupport.net/job-support/salesforce-online-job-support/
    http://onlinejobsupport.net/job-support/angular-online-job-support/
    http://onlinejobsupport.net/job-support/rpa-online-job-support/
    http://onlinejobsupport.net/job-support/blueprism-online-job-support/

    ReplyDelete
  8. This committee help to many people. You can use their services in your work. You can read research papers about all details of their work. There are so many fun and exciting things to do and experience around the world that I thought I'd put together a list of my favourite Things to do for all travelers ...

    ReplyDelete
  9. No Deposit Casino Bonus Codes 2021
    List bet analysis of No Deposit 온라인 바카라 사이트 Casinos that Take Paypal with Codes! Our No Deposit Casino List has over 7000 games from 블랙 잭 all 토토커뮤니티 over the world w88 and covers all of the

    ReplyDelete