How-tos

Create, deploy, modify and redeploy your first Bluemix App

Share this post:

The video below demonstrates how to build Java web applications leveraging IBM Bluemix services in Eclipse and how to deploy them to Bluemix. As an example, a news aggregator application is used which is available as open source so that you can follow the steps in the video yourself. The sample application is a subset of my recently launched news aggregator for Bluemix developers, Bluemix.info.

Watch the video (https://www.youtube.com/watch?v=vxur_6t0hdg”)

This video explains how to create, deploy, modify and redeploy your first Bluemix app in four steps:

  1. Create application and service in Bluemix (01m05s)
    This part describes how to use the Bluemix dashboard to create a Bluemix application using the Liberty for Java runtime and how to create and bind a Cloudant NoSQL Database service to the application. The result of the first step is a simple “hello world” Java application running in the cloud and a Cloudant account to manage databases.
  2. Fork sample and deploy to Bluemix (06m16s)
    To make it more interesting, a real application is deployed to Bluemix. The source of the news aggregator sample application is forked via IBM DevOps and then built in the cloud. Additionally the build is deployed onto Bluemix. As a result of this step, the news aggregator application is now running in the cloud.
  3. Setup IDE and run and debug locally (12m00s)
    While Bluemix is a rapid application development and deployment platform, it is not a replacement for your existing tools. You still develop locally, which allows you to debug the code before you deploy it. In this step you learn how to set up your local Eclipse IDE, the Liberty Profile, and how to download and install the sample application. As a result you can run and debug the same application locally.
  4. Push changes and deploy to Bluemix (16m44s)
    With the local development environment, the application code can now be modified. New versions of the application can be deployed onto Bluemix in various ways. Watch this last part of the video to understand how you can commit and push the source code to a Git repository and how to use DevOps to build and deploy the changes to Bluemix.

To find out more about the news aggregator application check out my blog and the open source GitHub project.

Add Comment
4 Comments

Leave a Reply

Your email address will not be published.Required fields are marked *


Dennis Okoi

Hello,
That was a very nice video. I am particularly interested in the news aggregator App. That was what brought me to your website in the first place. I want to know how to create a news aggregator App and have it published for cross-platforms (especially Android, iOS and Blackberry).
An answer from you will be highly appreciated.
Thank you.

Reply

ArpithaMyla

Hello,

I am new to bluemix and I am trying to create java application using bluemix.
I am not sure where I am wrong but I followed the same steps as per the video.
But when I made a change locally in eclipse IDE , I am unable to see the change locally or I even tried to push the change to bluemix and unable to see there also.
Could you please let me know where I am wrong.

Reply

MOUEZA

Same bug as ArpithaMyla : event after git push changes with Liberty, and redeploy is OK, no change in URL page : it’s still the previous content. I suspect bug with target folder and its .war file.

Reply
More How-tos Stories

Running Go Programs as IBM Cloud Functions

IBM Cloud Functions is a functions-as-a-service platform that is powered by Apache OpenWhisk. It is a readily extensible serverless platform that supports functions authored in various programing languages including Node.js,Python, Swift, Java, and PHP. A feature of IBM Cloud Functions that has been around for some time but not well documented is support for native binaries: any executable that is binary compatible […]

Continue reading

Build and deploy a MEAN stack application on IBM Cloud

MEAN is a collection of JavaScript-based technologies — MongoDB, Express.js, AngularJS, and Node.js — used to develop web applications. From the client and server sides to databases, MEAN is a full-stack development toolkit. This tutorial walks you through the creation of a web application using the popular MEAN stack. It is composed of a Mongo DB, Express web framework, Angular front-end framework and a Node.js runtime.

Continue reading

A hybrid Cordova mobile app with Push and Analytics in minutes

As promised while introducing "Tutorials to get your mobile development up and running", we are continuing our efforts to add more mobile solution tutorials. After quickly scaffolding a native iOS-Swift and Android mobile app with Push and Analytics, it's time to bring in the hybrid mobile app development flavor to the game with Cordova - Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies - HTML5, CSS3, and JavaScript for cross-platform development.

Continue reading