which api I use to intergrate Cassandra with spring -rest

1k views Asked by At

I am new Cassandra (not even idea of writing queries) and I want to integrate Cassandra with spring rest application. I go through many links but I am not able to decide which one is better spring-data-Cassandra or Kundera or Easy-Cassandra.

Kindly tell me advantage or disadvantage over each other so that I can select and use them in my application.

Is there a possibility to use the combination of spring-data-Cassandra or Kundera?

1

There are 1 answers

1
Christopher Batey On

I think when learning Cassandra it is important to know exactly which queries are being executed.

If you want to avoid writing boilerplate I would use the DataStax Java Driver's Mapping API: http://www.datastax.com/documentation/developer/java-driver/2.1/java-driver/reference/objectMappingApi.html?scroll=object-mapping-api

Straightforward example on my github: https://github.com/chbatey/cassandra-customer-events/tree/mapping/src/main/java/info/batey/eventstore