JRebel with IBM Bluemix

Pushing any JRebel remote server enabled application (containing rebel-remote.xml) to the Bluemix cloud platform will automatically download the latest version of JRebel and set it up for use.

Follow the tutorial below to get started with JRebel and Bluemix.

IBM Bluemix and JRebel remote server support tutorial

To get started, you need to sign up with Bluemix. Head over to IBM Bluemix Trial to get a free trial account. Once done, you’re ready to move on.

  1. Download and install the Cloud Foundry (cf) command line interface.

  2. Start up cf and set your API to work with Bluemix.

    $ cf api https://api.ng.bluemix.net


    Depending on your location, you might want to connect to the European region. To do this, connect to https://api.eu-gb.bluemix.net.

  3. Login to Bluemix using the account you created earlier.

    $ cf login
  4. Install and configure JRebel on your local workstation.

    4.1 Using Eclipse? Install JRebel for Eclipse and configure JRebel remote server support.

    4.2 Using IntelliJ IDEA? Install JRebel for IntelliJ IDEA and configure JRebel remote server support.

    4.3 Using NetBeans? Install JRebel for NetBeans and configure JRebel remote server support.

  5. Create a new file titled manifest.yml within the root folder of your project with the following content (replacing {APP_NAME} and {webapp} with your own application title and WAR file name):

    - disk_quota: 1024M
      host: {APP_NAME}
      name: {APP_NAME}
      path: target/{webapp}.war
      domain: ng.mybluemix.net
      instances: 1
      memory: 768M


    Depending on your location, you might want to change the domain to the European region. To do this, specify domain: eu-gb.bluemix.net.

  6. Push your local application to Bluemix! Run the following command within your project root folder (the folder which contains manifest.yml).

    $ cf push {APP_NAME}


    Make sure that the rebel-remote.xml on your local workstation and on Bluemix are identical!

  7. Now your application should be set up and running in Bluemix. You can check its status via the Bluemix Dashboard.

  1. Configure your project’s remote server application URL in the IDE to reflect the Bluemix application URL. This should be http://{APP_NAME}.ng.mybluemix.net/.

  2. Press the Synchronize button in your IDE to upload any changes to Bluemix. Now simply refresh the application on the cloud platform and your changes should appear like clockwork! Success!