I know I promised in my previous entry that I will talk about how to deploy database on cloud using reverse engineering. However before I explain that, I really want to let you know about how to create an application in the BlueMix environment. This is also important in a way that you need to create one application to know the database connection credentials. These credentials in turn will be required to connect to the db from remote client like InfoSphere Data Architect which is going to help us in doing reverse engineering and deployment.
So lets learn how to create an application.
When you log in to BlueMix environment, you will see a Dashboard with list of all your application and services (If you have not created any yet, you will see an empty dashboard) . Under the Catalog section, it list down all the services, runtime and boilerplates ready to be consumed by an application. While the name service and runtime is quite self explanatory, Boilerplates is something unique and interesting concept. It actually combine runtime and services together for a particular type of application and give it to you when you create an application using one of these boilerplates. Below is the snapshot of available boilerplates as of now.
To explain one of them, Java+DB Web Starter boilerplate will give you ready-made platform with integrated services of Java Runtime, Database and Application Server. So if you create an application using this boilerplate, all these will be given to you directly.
To create one application you can click on any of these boilerplates based on you need. It will prompt you to give a name of the application (which will also act as your domain name). Below is the snapshot of one of the application I have created using this boilerplate.
Clicking on the Application (ManojApp in this case), will give you the details of the services this application is using. For this case we have an application server and a database service (sqldb)
Clicking on the server (Liberty for Java) )will give you finer details like resource consumption, instance details and an important environment variable called VCAP_SERVICE. This environment variable has the details of every service this application is consuming including credential details of your database which you can use to connect from outside world (and from application you are going to write)
In case you don't want to create an application from ready-made set of services and runtime (Boilerplate), you have also an option of creating it from a scratch. Offcourse in this case you need to add/bind services you want for this application explicitly. You have create an application and create a service section in your dashboard for this case. Whenever you create a service, you will have an option to bind it to your existing application.
In one of my future post (may be after I talk about the database deployment using reverse engineering), I will talk about how to create an application using Eclipse and deploy it on BlueMix environment with span on 10 minutes so Keep tuned :)