In this chapter, we will discuss the development of applications backed by Apache Cassandra. This subject is one of the most misunderstood areas of Cassandra. Too often, developers assume that their years of developing with relational databases have prepared them for working with a distributed database such as Apache Cassandra. Unfortunately, their familiar, relational foundations lead them down the wrong path.
In this chapter, we will discuss the following topics:
- Common mistakes made at the application and data model levels
- Driver selection
- Appropriate connection properties
- Handling simple and complex result sets in Java
- Loading data without overwhelming your nodes
By the end of this chapter, you will understand how to build Java applications to work with Apache Cassandra. These example applications will start small and simple, and grow in complexity...