About This Guide
Organization of the Guide
Assumptions
Documentation Roadmap
About This Chapter
Some Preliminaries
The simpapp Tutorial
Step 1: Copy the simpapp Files
Step 2: Examine the Client Program
Step 3: Compile the Client
Step 4: Examine the Server
Step 5: Compile the Server
Step 6: Edit the Configuration File
Step 7: Load the Configuration File
Step 8: Boot the Application
Step 9: Enter a Request
Step 10: Using tmadmin
Step 11: Shut Down the Application
Summary
Directory Structure for bankapp
Files
Edit bankvar to Set Environment Variables
A Look at bankapp Client Programs
System Client Programs
audit.c: A Request/Response Client
auditcon.c: A Conversational Client
bankmgr.c: A Client that Monitors Events
Building Client Programs
References
A Look at bankapp Servers
Request/response Servers
A Conversational Server
Service Definitions
Service Algorithms
Utilities Incorporated into Servers
Building Servers
Using the buildserver Command in the bankapp
Alternative Way to Code Services
References
A Look at the bankapp Makefile
Editing bankapp.mk
Running bankapp.mk
Resource Manager Options for bankapp
The System/D RM and bankapp
Create Database in SHM Mode
Create the Database in MP Mode
Using an XA-compliant RM with bankapp
Changes to bankvar
Changes to the bankapp Services
Change to bankapp.mk
Changes to crbank and crbankdb
Changes to the Configuration File
Using a non-XA Compliant RM with bankapp
Changes to bankvar
Changes to the bankapp Clients and Services
Changes to bankapp.mk
Changes to crbank and crbankdb
Changes to the Configuration File
Changes to the Driver Scripts
Configuration Files for bankapp
Notes to Listing 7-1
References
Creating tuxconfig, tlog tlisten
Loading the Configuration File
Creating the TLOG
Starting tlisten
References
tmboot and populate
Checking IPC Resources
Executing tmboot
Running the populate Script
References
Run the Application
The bankapp run Script
Running the audit Client Program
Running auditcon
Using the driver Program
Using tmadmin
Shutting Down bankapp
References