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.

More stories

Announcing App ID integration to IBM Cloud Kubernetes Service

Today, we're excited to announce App ID integration with IBM Cloud Kubernetes Service. You can use this integration to enforce policy-driven security in a consistent way using declarative configuration of the Ingress Controller to add App ID protection for web applications, APIs, and back-ends. Using this approach, you don’t have to instrument each of your applications separately - all the authorization and authentication flows will be handled automatically for you. No code change is required!

Continue reading

Deploying to IBM Cloud Private 2.1.0.2 with IBM Cloud Developer Tools CLI

IBM Cloud Private is an application platform for developing and managing on-premises, containerized applications. It is an integrated environment for managing containers that includes the container orchestrator Kubernetes, a private image repository, a management console, and monitoring frameworks.

Continue reading

IBM Cloud Garage Method Field Guide

What does it mean to behave like a startup? How can you transform your business? Field-tested answers to these questions and others are found in the IBM Cloud Garage Method Field Guide. Presented in a fun and visual format, the Field Guide introduces the method and its related practices and architectures that you need to quickly develop quality products.

Continue reading