Play! NoSQL (Building NoSQL applications with Play framework)

Accessing Databases with Play! Framework Play Framework is a high velocity web framework for Java and Scala. It’s built to make application development faster and glitch free. Play! provides a plugin for managing JDBC connection pools. So, if you’re working with relational databases, all you’ve to do is to define database connector dependencies in its build…

Composite Keys in Cassandra

Introduction A composite key consists of one or more primary key fields. Each field must be of data type supported by underlying data-store. In JPA (Java Persistence API), there are two ways of specifying composite keys: 1. Composite Primary Key: 2. Embedded Primary Key: Above Timeline entity is inspired from famous twissandra example. Starting 1.1 release, Cassandra supports…

Cross-datastore Persistence using Kundera

Introduction Kundera is a powerful JPA based object-datastore mapping library (ORM equivalent) for NoSQL databases. It significantly reduced programming effort required for performing CRUD operations in NoSQL databases. Kundera currently supports Cassandra, HBase, MongoDB and relational databases. Cross-datastore persistence is the latest additions to it feather. If your business objects are distributed across multiple databases,…