Running the Sample Project

You can run the sample project to see how TIBCO ActiveMatrix BusinessWorks Plug-in for EJB works.

Prerequisites

Ensure that you have imported the sample project to TIBCO Business Studio, as described in Importing the Sample Project.

Procedure

  1. In the Project Explorer view, expand lib. Double-click jboss-ejb-client.properties and jndi.properties and update the contents according to your JBoss Application Server.
  2. In the Project Explorer view, expand the Resource folder, and then expand the test shared resource.
  3. Double-click NewEJBResource.ejbResource to edit the EJB connection, and then click Test Connection to validate your connection.
  4. In the Project Explorer view, expand the Module Descriptors resource, and then double-click Components.
  5. By default, all the processes are listed in the Components editor. In the Components editor, select the process that you do not want to run and click .
  6. On the toolbar, click the icon to save your changes.
  7. From the menu, click Run > Run Configurations to run the selected process.
  8. In the Run Configurations dialog, expand BusinessWorks Application and click BWApplication.
  9. In the right panel, click the Applications tab, and select the check box next to Examples.application.
  10. Click Run to run the process.
  11. Click the icon to stop the process.