Wednesday, January 2, 2013

Creating Your Frist Java Application w/ Cassandra

Looking to kick off 2013 with a fun project to get familiar with Cassandra?  Why don't you build a globally scalable naughty and nice list?  At least, that's what we did in the webinar a few weeks ago. 

If you would like to relive the webinar, Datastax posted the slides and video.

We went through two quick examples using Astyanax and CQL3 to manage Santa's naughty list.  As much as it was a demo of the APIs, it also shows how you can use cqlsh and cassandra-cli to get two perspectives on the data: a logical view via cqlsh and a physical view via cli.   Its important to keep both perspectives in mind if you want to build a scalable app.

You can find the code here:

Please let me know if you have any questions, or if I flubbed up on anything.

BTW, Jonathan has a webinar coming up on "What's new in 1.2?"  It should be a good one.


Sean Huang said...

Dear Brian,
Thanks for your post, this is really a cool example. I am trying to rebuild this example.
where can i get cassandra-driver-core:jar:0.1.0-SNAPSHOT.jar.

Thanks again for all the excellent work.

Sean Huang said...
This comment has been removed by the author.
bruno said...

This example solved my problem!! Now, I just use Datastax Cassandra java-driver ! :)
Thanks Brian!

Dagdgsd Dffbd said...

Nice article, thanks for the information. It's very complete information. I will bookmark for next reference
jaring futsal | jaring golf | jaring pengaman proyek |
jaring pengaman bangunan | jaring pengaman gedung