Java Tutorials

Several Java tutorials that are included with TIBCO ActiveMatrix explain how to use and modify different features.

Note: Many of the steps in cheat sheets launch modal dialogs. Once a dialog is open, you cannot expand the view containing cheat sheet content. To ensure that you can see all the content, before opening a dialog you can expand the view so that you could see all of the cheat sheet content or you can detach the view so that it can be resized even while a dialog is open.

To access the Java tutorials, expand the Java folder.

  • How to Create and Package a Hello World Application

    The Hello World Application exposes one service that returns an acknowledgment string when a user submits a name to a Hello World SOAP client. The Hello World SOAP client sends requests to Hello World SOAP service, which forwards them to the Hello World Java component. When the Hello World component receives the request, it constructs the response string and returns it to Hello World SOAP service, which then forwards the response to the Hello World SOAP client.



  • How to Run the Hello World Application

    Describes how to use rapid application development features to run the Hello World application on a local node and the Web Services Explorer to generate SOAP requests to invoke the service exposed by the application.

  • How to Enhance the Hello World Application
    Describes how to enhance the Hello World application as follows:
    • Add an implementation property to configure the Hello World component
    • Add a partner Date Manager component
    • Add a composite reference and HTTP client shared resource to access an external Date Manager service
    The enhanced application consists of two components—Hello World and Date Manager—that work together to return a greeting when a user submits a name to a Hello World SOAP client. The SOAP client sends requests to the Hello World service SOAP binding, which forwards them to a Hello World component. When a Hello World component receives the request, it sends a request for the current time to Date Manager component. The Date Manager component in turn invokes a Date Manager reference, which uses an HTTP client shared resource to invoke the Date Manager application. The Date Manager application returns a string containing the date and time to the Date Manager component via the reference. A property contains the salutation portion of the response returned by the Hello World component.

  • How to Run the Enhanced Hello World Application

    Describes how to use rapid application development features to run the Hello World and Date Manager applications on a local node and the Web Services Explorer to generate SOAP requests to invoke the service exposed by the Hello World application.

  • How to Deploy the Enhanced Hello World Application

    Describes how to use Administrator CLI features to deploy the Hello World and Date Manager applications on a remote node.

  • How to Create and Package the Hello World Fault Application

    Describes how to create a version of the Hello World application that returns a SOAP fault message if the user does not submit a name.

  • How to Run the Hello World Fault Application

    Describes how to use rapid application development features to run the Hello World Fault application on a local node and the Web Services Explorer to invoke the Hello World service to return the SOAP fault.

  • How to Create and Package Applications that Use a Shared Data Binding Library

    Describes how to create and package a shared data binding library and how to configure and package two applications to reference the library.

  • How to Deploy Applications that Use a Shared Library

    Describes how to use Administrator CLI features to deploy a DAA containing a shared library and the applications that reference the library.

  • How to Create and Package a Phonebook Application

    The Phonebook application exposes a Phonebook service with two operations: addPhone and getPhone. The application consists of one Java component that uses a JDBC resource to access the database that stores the phonebook data. The JDBC resource references a database driver packaged in a separately deployed custom feature.

  • How to Run the Phonebook Application

    Describes how to use rapid application development features to run the Phonebook application on a local node and the Web Services Explorer to generate SOAP requests to invoke the operations in the Phonebook service.

  • How to Run the Hello World JMS Application

    (tutorial only) Describes how to use rapid application development features to run the Hello World JMS application on a local node and a JMS test client to invoke the Hello World service.

Sample Project Location
Cheat Sheet Sample Project Archives
Hello World
  • Create and Package
  • Run
TIBCO_HOME/amx/version/samples/java/helloworld1.zip
Enhanced Hello World
  • Create and Package
  • Run
  • Deploy
TIBCO_HOME/amx/version/samples/java/helloworld2.zip
Hello World Fault
  • Create and Package
  • Run
TIBCO_HOME/amx/version/samples/java/helloworld3.zip
Hello World Shared
  • Create and Package
  • Deploy
TIBCO_HOME/amx/version/samples/java/helloworld4.zip
Phonebook
  • Create and Package
  • Run
TIBCO_HOME/amx/version/samples/java/phonebook.zip
Hello World JMS TIBCO_HOME/amx/version/samples/java/helloworldjms.zip

The .zip file also contains a Readme file.