We now need to add the client library that we will use to the list of dependencies. Open the pom.xml in your favourite editor. In the <dependencies> section add the hector dependency. (You could use any client library, we will use hector because it is available in the Maven Central repository which makes using it a lot easier) Your pom.xml should look a little something like:

At this point you have a running web application at http://localhost:8080/webapp/ and a cassandra instance started on localhost. Jetty will automatically re-load the webapp if you modify it, so you can now just start developing the web application (assuming you are a masochist who likes writing web applications in jsp - gasp horror!)