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