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…

Marrying JPA with graph databases

For a month or two, I have been exploring Neo4J, a graph database built for storing huge amount of data. Other popular graph database, that I will be dwelling into is InfiniteGraph from Objectivity. I have also been working on Kundera (A JPA 2.0 based object-datastore mapping library for NoSQL datastores) as a key contributor. It already supports…

Writing Geospatial Queries for MongoDB in Java

MongoDB supports 2-dimensional geospatial indexes. This presentation will help you understand it at a basic level. In this article, I will help you quickly write Geospatial queries described in above presentation using Java programming language. Source code for this article is available at this Github project. A repository of Gegraphical Places Below Java class is a…

Your first Hadoop Map-Reduce Job

Introduction Hadoop Map-Reduce is a YARN-based system for parallel processing of large data sets. If you are new to hadoop, first visit here. In this article, I will help you quickly start with writing the simplest Map-Reduce job. This is a famous “Wordcount” MR job and the first one for 90% of the people (if not more).…

SQLifying NoSQL – Are ORM tools relevant to NoSQL?

Introduction If you reached this page, it’s fair to assume that you must have worked on at least one relational database in your lifetime. They have been in use for a quarter of a century and are found in almost all business applications. But, NoSQL databases are gaining traction these days. they are often called “Not only SQL”…

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,…