Jolt 1.2 Developer's Guide
Table Of Contents
- Jolt for NonStop(TM) TUXEDO Developer's Guide
- Jolt for NonStop(TM) TUXEDO Developer's Guide
- About This Guide
- 1. Introducing Jolt
- 2. Installing Jolt
- 3. Configuring the Jolt System
- 4. Bulk Loading NonStopTM TUXEDO Services
- 5. Using the Jolt Repository Editor
- 6. Using the Jolt Class Library
- 7. Using JoltBeans
- 8. Using Servlet Connectivity for NonStopTM TUXEDO
- 9. Using Jolt 1.2 ASP Connectivity for NonStopTM TUXEDO
- A. NonStopTM TUXEDO Errors
- B. System Messages
- Index
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.










