Java Server Faces

JSF Quickstart with Richfaces/ Primefaces

When it comes to building rich UI web-application in Java, I always count on JSF. I know there are many who hate JSF, but this article is not about getting into those fights :-) As a starter, I always spent hours in resolving Jar dependencies and configuration issues. Many times they are tough to crack as…

Expert in NoSQL

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

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