Deploying an App from TIBCO Business Studio™ for BusinessWorks™

The following is a tutorial on using TIBCO Business Studio for BusinessWorks to generate deployment archives for a TIBCO BusinessWorks™ App and push the app to the cloud.

There are two possible scenarios for deployment:

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

  1. To begin using TIBCO Cloud Integration, you must register an account. See Registering a TIBCO Cloud™ Integration Account for more details.
  2. If you have not done so, install TIBCO Business Studio for BusinessWorks on your computer. See Installing TIBCO Business Studio™ for BusinessWorks™ for more details.
  3. Open TIBCO Business Studio for BusinessWorks. On the Workspace Launcher dialog, accept the default workspace or browse to create a new workspace, and then click OK. TIBCO Business Studio for BusinessWorks is started and the default development environment, called a workbench, appears.
  4. By default, you 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 creates a directory to contain the EAR archive.
  8. If you wish to change the name of the EAR archive, clear the Use Default EAR file name option and enter a new name.

  9. Click Finish. The EAR file is created in the named directory. The deployment archive can now be pushed manually to the cloud at the TIBCO Cloud Integration web page, or by using the TIBCO Cloud™ - Command Line Interface.

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

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

  2. Select the Cloud API registry configuration, and click Edit.
  3. On the Basic tab, enter your username and password.
  4. On the Accounts tab, select an account organization.
  5. Click Finish, then click Close.
  6. In the Project Explorer, right-click petstore_sample_service_application and select Push to Cloud. Your app is pushed to the cloud in your account.