Jolt 1.2 Developer's Guide

weblogic.httpd.register.simpapp=examples.jolt.servlet.SimpAppServlet
To access the SimpApp initial page simpapp.html, type:
http://mywebserver:8080/simpapp.html
6.
BankApp Sample
The Bankapp application illustrates how the servlet is written with PageCompiledServlet with Servlet Connectivity for NonStop
TM
TUXEDO. Bankapp illustrates the following:
How to use a property file to create a session pool
How to get the session pool manager
How to retrieve a session pool by name
How to invoke a NonStop
TM
TUXEDO service
How to process the result set
Requirements for running the Bankapp Sample
Following are the requirements for running the Bankapp sample:
Any Web Application Server with Servlet JSDK 1.1 or above
NonStop
TM
TUXEDO 6.4 or 6.5 with BankApp sample running
Jolt 1.2
Installation Instructions
Install the Jolt class library (jolt.jar) and Servlet Connectivity for NonStop
TM
TUXEDO class library (joltjse.jar) to the web
application server. Extract the class files if it is required by your web application server.
1.
Copy all HTML, JHTML and bankapp.properties files to the public HTML directory of the web application server (e.g.
$WEBLOGIC/myserver/public_html for WebLogic):
bankapp.properties
tellerForm.html
inquiryForm.html
depositForm.html
withdrawalForm.html
transferForm.html
InquiryServlet.jhtml
DepositServlet.jhtml
WithdrawalServlet.jhtml
TransferServlet.jhtml
2.
Modify the bankapp.properties file. Change appaddrlist and failoverlist with the proper Jolt server hosts and ports. Specify the proper
NonStop
TM
TUXEDO authentication information if the BankApp has security turned on. For example,
#bankapp
#Fri Apr 16 00:43:30 PDT 1999
poolname=bankapp
appaddrlist=//host:8000,//host:7000
failoverlist=//backup:9000
minpoolsize=2
maxpoolsize=10
userrole=teller
apppassword=appPass
username=JaneDoe
userpassword=myPass
3.
If applicable, turn on the automatic page compilation for JHTML from your servlet engine. Consult the user manual of your web4.