Example Components and Prerequisites

There are two parts to the simpapp example for Jolt for WebLogic Server:

  • The HTTP servlet that is shipped with the examples that are installed in the samples directory where Oracle Tuxedo is installed.
  • The Tuxedo service application that is shipped with the Tuxedo examples that are installed with Oracle Tuxedo. The Tuxedo simpapp server contains the TOUPPER service, which converts a given string to uppercase.

The source code for the Jolt servlet simpapp example is located in the /samples/jolt/wls/servlet/ directory in the Tuxedo distribution.

The simpapp sample directory contains the following files:

File Name Description
SimpAppServlet.java Sample source code that issues a call to Tuxedo and returns an HTML page with the results
simpapp.html HTML form for user input
simpapp.rep REP file for repository bulk loading
web.xml Configuration XML file for Web applications

A complete listing of the Tuxedo server-side source code of the simpapp application service is located in $TUXDIR/samples/atmi/simpapp on UNIX systems and in %TUXDIR%\samples\atmi\simpapp on Windows 2003 systems (where TUXDIR is the Tuxedo home directory).

To run this example, you should be familiar with:

  • The Oracle Tuxedo architecture and the simpapp application
  • Oracle Jolt
  • HTML
  • Java language and servlet API
  • WebLogic Server HTTP servlets