Tag Archives: DBaaS

Java and Cloudant NoSQL DB on Bluemix

Click to Read

Cloudant is a stellar NoSQL DBaaS (Database as a Service) that allows developers to not worry about their database infrastructure. If you’ve never used Cloudant or a cloud database offering before, this is where you should get started. Within the large catalog of services we provide with Bluemix, Cloudant shines as one of the simplest databases to create and use.  In this sample, we will quickly create a web application that talks to Cloudant using the “ektorp” client jar for Java and then push it to Bluemix.  We will create this web application using a Maven project in Eclipse.  I’ve chosen Maven because it is the easiest way to retrieve the dependencies we need — the “ektorp” client jars.

When pushing your application to ‘Liberty for Bluemix’ with the Cloudant service bound to it, we make the service easier to consume with a process we call “auto-configuration”.  Basically, we add configuration elements to the “server.xml” of the Liberty server running your application.  This aspect of Bluemix is key for making the application development process as stream-lined as possible.  You can read more about what exactly the auto-config for Cloudant does here: Cloudant Docs on Bluemix

A Cloud medley with IBM Bluemix, Cloudant DB and Node.js

A Cloud medley with IBM Bluemix, Cloudant DB and Node.js

Here is an interesting Cloud medley based on IBM’s Bluemix PaaS platform, Cloudant DB and Node.js. This application  creates a Webserver using Node.js and uses REST APIs to perform CRUD operations on a Cloudant DB. Cloudant DB is a NoSQL Database as a service (DBaaS) that can handle a wide variety of data types like JSON, full text and geo-spatial data. The documents  are stored, indexed and distributed across a elastic datastore spanning racks, datacenters and perform replication of data across datacenters.Cloudant  allows one to work with self-describing JSON documents through  RESTful APIs making every document in the Cloudant database accessible as JSON via a URL.