TIBCO Business Studio™ for BusinessWorks™ Essentials

TIBCO Business Studio for BusinessWorks is an Eclipse-based integration development environment that is used to design and test TIBCO ActiveMatrix BusinessWorks™ applications.

Note: If you are familiar with the TIBCO Business Studio for BusinessWorks user interface, skip to the section Developing a Basic Process.

Using TIBCO Business Studio for BusinessWorks, designers implement an executable application that can be deployed to ActiveMatrix BusinessWorks.

Starting TIBCO Business Studio for BusinessWorks

To start TIBCO Business Studio for BusinessWorks on Windows, select Start > All Apps > TIBCO_HOME > Studio for Designers. On Linux or Mac OS, select the TIBCO Business Studio for BusinessWorks executable located at <TIBCO_HOME>/studio/<version>/eclipse/.

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 starts and the default development environment, called a workbench, is displayed. A welcome screen is displayed in the window when a workspace is opened for the first time. For more information TIBCO Business Studio for BusinessWorks, see the section Accessing Samples in the ActiveMatrix BusinessWorks™ Samples guide.

Note: On Mac OS, TIBCO Business Studio for BusinessWorks displays the Subversion Native Library Not Available dialog box if the SVN interface is set to JavaHL (default) and the JavaHL libraries are not available. To ensure that the dialog box is not displayed each time you start TIBCO Business Studio for BusinessWorks, perform one of the following:
  • Install the JavaHL libraries. See http://subclipse.tigris.org/wiki/JavaHL for instructions.
  • Update the SVN interface to use SVNKit instead of JavaHL. Select Window > Preferences and in the Preferences dialog box, select Team > SVN. For the SVN interface Client field, select SVNKit (Pure Java) interface from the drop-down list.

TIBCO Business Studio for BusinessWorks Development Environment

TIBCO Business Studio for BusinessWorks provides a workbench that is used to create, manage, and navigate resources in your Eclipse workspace. A workspace is the location on your machine where the artifacts related to your ActiveMatrix BusinessWorks™ projects are stored.

TIBCO Business Studio for BusinessWorks Workbench

The TIBCO Business Studio for BusinessWorks workbench has features such as:

  • Menu: Contains menu items such as File, Edit, Navigate, Search, Project, Run, Window, and Help.
  • Toolbar: Contains buttons for the frequently used commands such as:
    • New
    • Save
    • Enable/Disable Business Studio Capabilities
    • Create a new BusinessWorks Application Module
    • Create a new BusinessWorks Shared Module
    • Debug
    • Run
  • Perspectives: Contain an initial set and layout of views that are needed to perform a certain task. TIBCO Business Studio for BusinessWorks launches the Design perspective by default. Use the Design perspective when designing a process and the Debug perspective when testing and debugging a process. To change the perspective, select Window > Open Perspective > perspective_name from the main menu. Or, you can click the icon at the top right-hand side of the workbench and select the perspective to open.
  • Views: Display resources and allow for navigation in the workbench. For example, the Project Explorer view displays the ActiveMatrix BusinessWorks applications, modules, and other resources in your workspace, and the Properties view displays the properties for the selected resource. To open a view, select Window > Show View > view_name from the main menu.
  • Editors: Provide a canvas to configure, edit, or browse a resource. Double-click a resource in a view to open the appropriate editor for the selected resource. For example, double-click on a process (MortgageAppConsumer.bwp) in the Project Explorer view to open the process in the editor.

Explorers

The TIBCO Business Studio for BusinessWorks consists of the following tabs in the left pane:
  • Project Explorer
  • API Explorer
  • File Explorer
  • Outline tab
  • Module tab
  • Deployment Servers

Creating an Application and Designing a Process

Create an application and design one or more process(es) within the application in TIBCO Business Studio for BusinessWorks to implement the business logic. See Developing a Basic Process.

Testing and Debugging an Application

Using TIBCO Business Studio for BusinessWorks you can test and debug your application from the design-time.

To run the selected application, select Run > Run from the main menu, or click on the toolbar.

To execute and debug the application, select Run > Debug from the main menu, or click on the toolbar.

By default, the project displayed in the Process Editor launches. You can run or debug an application using a specific configuration. Create one or more configurations for your application by selecting Run > Run Configurations from the main menu and specifying the following:
  • Bundles to be executed.
  • Program arguments such as the target operating system, target architecture, and VM arguments.
  • Settings that define the Java Runtime Environment including the Java executable, runtime JRE, configuration area, and so on.
  • Tracing criteria for the OSGi JAR file, if needed.
  • Common options such as saving the results either as local files or as shared files, displaying them in the menus (Debug and/or Run), and defining encoding for the result files.