Deploying Polyglot (RDBMS + NoSQL) Applications on Openshift

Introduction Platform as a Service (PaaS) takes care of infrastructure, middleware, configuration and other platform related worries from developers and allows them to focus on their key competence, i.e. designing and developing their domain applications. In this article I am going to demonstrate how to build a “Polyglot Application” involving data storage and retrieval in…

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…

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

Data Model

Working with MongoDB using Kundera

Kundera – a JPA 2.0 (Java Persistence API) based ORM library was originally developed for Cassandra database. A support for Hbase was later added to it. Those who are new to Kundera, should read this¬†to get a basic idea. For impatient ones – Get started with Kundera in 5 minutes! Kundera now supports MongoDB –…