Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Subscription Service Example : Running the Example

Running the Example
To run the example, you need to complete the following tasks:
 
Task A Starting TIBCO Enterprise Message Service Server
To start TIBCO Enterprise Message Service Server:
1.
Go to the EMS_HOME\bin directory.
2.
tibemsd.exe
Task B Deploying an SA File
Before proceeding, ensure that the HSQLDB, TIBCO ActiveMatrix Administrator, and TIBCO ActiveMatrix Administrator Server are running in a web browser.
To deploy the SA project (the ZIP file) in TIBCO ActiveMatrix Administrator:
1.
Select the Deploy to an Environment perspective.
2.
Choose the Environment, and then click the Upload Service Assembly button.
3.
4.
Click the Browse button to select the archived ZIP file (the SA project) which was generated in TIBCO Business Studio.
5.
Click the OK button.
6.
7.
Click the Service Units button.
8.
a.
b.
In the Node Mapping tab, select the nodes which you want to deploy the service unit to from the Available Nodes list, and then click the right arrow button. The nodes will appear in the Mapped Nodes list.
c.
Click the Save button.
Task C Starting the Node and Installing the Shared Resources
If an ActiveMatrix Service (JMS, SOAP, or AMX) is included in the SA project, you need to install the corresponding Shared Resource for the appropriate node.
1.
In the web browser, select Configure an Environment in the Perspective drop-down list, and then select the appropriate Environment.
2.
3.
4.
Enable the corresponding shared resource EMS Shared Resource and install it.
Task D Deploying and Starting the SA Project
1.
2.
3.
Ensure that the status of the SA project is set to deployed. Select the SA project, and then click Start.
Task E Running the Process Included in the Project
1.
2.
Select Window > Show view > Tester View from the Menu.
3.
4.
Send an HTTP request, for example, http://localhost:port/?name=yourname&location=yourlocation

Copyright © TIBCO Software Inc. All Rights Reserved