Deploying an App from TIBCO Business Studio - Cloud Edition

The following is a tutorial on using TIBCO Business Studio - Cloud Edition to generate deployment archives for an application, and push the application to the cloud.

There are two possible scenarios for deployment:

  • Deployment archives, which include an EAR archive and a JSON manifest, can be exported from TIBCO Business Studio. This is typically done when a developer is providing archives to a DevOps administrator for later deployment to the cloud using the TIBCO Cloud Integration web page or TIBCO Cloud Command Line Interface (CLI).

  • The app can be deployed to the cloud from within TIBCO Business Studio. This is typically done when a developer is continuously making changes and testing them in the cloud.

In this tutorial, we will create an EAR archive for the PetStore app included in TIBCO Business Studio.

  1. To begin using TIBCO Cloud Integration, you must register an account. See Registering a TIBCO® Cloud Integration Cloud Account for more details.

  2. If you have not done so, install TIBCO Business Studio - Cloud Edition on your computer. See Installing TIBCO Business Studio - Cloud Edition for more details.

  3. Open TIBCO Business Studio. On the Workspace Launcher dialog, accept the default workspace or browse to create a new workspace, and then click OK. TIBCO Business Studio is started and the default development environment, called a workbench, appears.

  4. By default, you will see a Samples window. If you do not, select Help > BusinessWorks Samples.

  5. Click Cloud PetStore Service to import the PetStore sample app into your workspace.

  6. In the Project Explorer, right-click petstore_sample_service_application and select Generate Enterprise Archive (EAR). The EAR Export window appears.

  7. Enter an EAR Location. Click Browse to change the location. This will create a directory that will contain the EAR and JSON manifest.

    If you wish to change the name of the EAR archive, clear the Use Default EAR file name option and enter a new name.

  8. Click Finish. The EAR file and manifest will be created in the named directory. The deployment archives can now be pushed manually to the cloud at the TIBCO Cloud Integration web page, or by using the TIBCO Cloud CLI.

You can also push the app to the cloud directly from Business Studio.

  1. Go to API Explorer, click the down arrow in the upper right corner, and click Settings.

  2. Select the Cloud API registry configuration if it is not selected. You will be prompted for your TIBCO Cloud Integration username and password the first time you select it.

  3. In the Project Explorer, right-click petstore_sample_service_application and select Push to Cloud. Your app will be pushed to the cloud in your account.