" rel="stylesheet">
Skip Main Navigation
Page Content
This event has ended

Intermediate Developer Training with Cassandra 1.2 and DataStax Java Driver


Tuesday, November 19, 2013 at 9:00 AM - Wednesday, November 20, 2013 at 5:00 PM (PST)

Ticket Information

Ticket Type Sales End Price Fee Quantity
Individual Ended $1,828.20 $64.80
Group Ended $1,439.23 $53.13

Who's Going

Loading your connections...

Share Intermediate Developer Training with Cassandra 1.2 and DataStax Java Driver

Event Details

Intermediate Developer Training: Using the DataStax Java Driver for C* 1.2

The DataStax Java Driver for Cassandra is a production-ready, native CQL driver that provides a solid foundation for building Cassandra-backed applications in Java. The course provides complete coverage on the driver, including the architecture, capabilities, and API. The in-depth coverage includes basic API concepts, using the API to execute dynamic and pre-compiled queries, using the builder classes for "fluent" style programming, as well as advanced topics such as making asynchronous queries.

The class includes a large number of labs that implement a full-scale application based on a stock-trading system (StockWatcher) that uses the driver. The StockWatcher application is a Spring-based Web application that serves as a demonstration of good techniques for using the driver. It includes a real-time trading simulator that drives the Web application with real (historical) trading data. Note that no Spring or Web application development experience is needed for the course or the labs.

After taking this course, you will be ready to work with the DataStax Java driver in an informed and productive manner. You will be aware of good coding techniques for using the driver, its many capabilities, and the choices the driver gives you for accomplishing different tasks. You will gain a clear understanding of how to use the driver, and be fully prepared to use it in production systems.

Duration: 2 days

Hands-on: Minimum 60% hands-on

Prerequisites Good, basic understanding of Cassandra and of using CQL 3, ability to write Java code in a reasonably efficient manner

Supported Platforms: Cassandra 1.2, CQL 3, DataStax Java Driver V1.x on Linux Operating Systems (VM provided for labs)

Skills Gained:

   Be familiar with basic installation and dependency requirements of the driver

   Be familiar with the new features of the driver

   Understand the driver structure and architecture

   Use Cluster.Builder, Cluster, and Session to connect to and work with a Cassandra cluster

   Use the querying API, including Statement and ResultSet, to execute static queries

   Use QueryBuilder to build and execute dynamic queries

   Execute queries and fetch results asynchronously

   Be aware of and use policies to configure driver behavior

Course Details:


Session 1: Introducing the Java Driver


  •                      Overview and Architecture
  •                      Features

   API Introduction

  •                      Cluster and Cluster.Builder
  •                      Creating the Cluster
  •                      Contact Points
  •                      Getting a Session
  •                      Working with Sessions


  •                      Introducing StockWatcher (the Lab Domain)
  •                      Connect to a Cluster


Session 2: Querying with Prepared Statements

   PreparedStatement, Query, BoundStatement

   Using PreparedStatements, Binding Values

   Executing the Query

   Processing Query Results

   CQL to Java Type Mapping

   Working with UUIDs

   Setting Consistency Level


Session 3: QueryBuilder and Dynamic Queries

   Dynamic Queries

   QueryBuilder - Fluent API for Queries

   Building SELECT, Select Type, Select.where(), Chaining WHERE Clauses

   Building DELETE, Delete Type, Delete.where()

   Building INSERT, Insert Type, Insert.insertInto(), Insert.value()

   Building Update, Update Type, Insert.with(), Insert.value()

   Other Queries


Session 4: Asynchronous Querying

   Synchronous vs. Asynchronous Querying

   Interface java.util.concurrent.Future

   The ResultSetFuture Class

   Executing Asynchronous Queries and Processing Future Results

   Listeners for Asynchronous Processing


Session 5: Driver Policies


   Load Balancing Policies - RoundRobinPolicy, DCAwareRoundRobinPolicy

   Retry Policies - DefaultRetryPolicy, DowngradingConsistencyRetryPolicy

   The Policies Class


Session 6: Programming Techniques

   Encapsulating Session Access

   DAO Design

   Exception Handling

   Best Practices


Session 7: StockWatcher Deep Dive

   In-Depth examination of the StockWatcher and TradeSimulator Applications

   Exploring Choices and Improvements


Session 8: Workshop - Writing Your Own DAO Classes

Workshop-style guided development: You will create DAO classes from scratch based on a CQL schema we supply. You'll be given a basic skeleton to work with, and will create DAO implementations to access the Cassandra database. You'll use all the techniques learned in the class.


Have questions about Intermediate Developer Training with Cassandra 1.2 and DataStax Java Driver? Contact DataStax

When & Where

Seaport Conference Center
459 Seaport Ct
Redwood City, CA 94063

Tuesday, November 19, 2013 at 9:00 AM - Wednesday, November 20, 2013 at 5:00 PM (PST)

  Add to my calendar



DataStax, the leading provider of database software for cloud applications, accelerates the ability of enterprises, government agencies, and systems integrators to power the exploding number of cloud applications that require data distribution across datacenters and clouds, by using our secure, operationally simple platform built on Apache Cassandra.

  Contact the Organizer
Intermediate Developer Training with Cassandra 1.2 and DataStax Java Driver
Redwood City, CA Events

Please log in or sign up

In order to purchase these tickets in installments, you'll need an Eventbrite account. Log in or sign up for a free account to continue.