• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring book question... Hooking up NoSql databases?

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashish,
Many thanks for the answers...
We will soon be transitioning from hibernate+MySql to Cassandra.

Is there some coverage of the same - For example, we write integration tests -
Would this tests keep working if the transition happens?
(We are planning to use http://projects.spring.io/spring-data-cassandra/)

This is very relevant in my humble opinion - as doing a quick proof of concept with ROO + Spring + Hibernate + Mysql
is very fast...

However, we are now seeing the data patterns don't fit the RDBMS model too well - and after a lot of comparing
and contrasting we are going soon to Cassandra...

I think this is some what advanced use case for a beginner book - but do you cover it by any chance?

Many thanks again - for all the answers!

--- thanks atul
 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Atul,

The book currently doesn't venture in NoSQL world. But, in the next edition we may include a chapter on it.

regards
ashish
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Spring Data is an amazing piece of technology, and every developer using Spring should learn it. However, I would recommend that beginner's learn it. I think Spring Data has it's place in a beginners book, but it should be after you have covered core concepts.

The thing is Spring Data introduces a paradigm shift that a lot of people don't realize. Until now, interfaces were treated as contracts. Basically, your interface describes what your class can do. What Spring Data does is make interface a specification for code generation tools. That's a completely new use of interfaces that you don't see anywhere in the Java world. It's a paradigm shift that I call Interface as Specification.

THe problem with learning Spring Data as a beginner is wrapping your mind around the Interface as Specification concept. It;s a little hard to digest. Most people start wondering how exactly the DAO layer works.. "Where is my DAO class?!" If you want it in a beginner book, you should really have it at the end.
 
Ashish Sarin
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll definitely keep in mind your suggestion when working on the 3rd edition of Getting started with Spring Framework
 
reply
    Bookmark Topic Watch Topic
  • New Topic