Getting Started-JetNet
Contents:
About This Document
Documentation Website
How to Print the Document
Documentation Conventions
Contact Us!
Introducing Panther
About Panther
Solutions and Application Scalability
Simple Applications Use a Two-Tier Solution
Enterprise-wide Applications Use a Three-Tier Solution
Web Applications
Product Components
Visual Object Development
Editor
Screen Wizard Development
Repository
Menu Bar Editor
Styles Editor
JIF Editor
Debugger
Development Tools
Source Control Support
Programming Interfaces
Built-in SQL Database
Database Connectivity
Behind the Screens
Transaction Manager
Middleware Support
JetNet
Oracle Tuxedo
COM/MTS
IBM WebSphere
Introducing the Tutorial
About this Tutorial
Accessing Lessons in the Tutorial
About Each Module
Module 1—Preparing the Server and the Client
Module 2—Creating and Testing Screens
Module 3—Connecting the Screens
Module 4—Extending the Application
Hints for Completing the Tutorial
Before You Start
For More Information...
Module 1—Preparing the Server and the Client
1. Setting Up the Server
UNIX Application Server
Create an application directory
Edit the environment setup file
Get new application components
Get tutorial components
Define the server environment
Link to the server executables
Create a middleware configuration file
Name the application
Get the machine's name and configuration file
Get the machine's port number
Provide the configuration file's location
Boot the application
Connect to the application
If you take a break
To resume the tutorial
To continue the tutorial
Windows Application Server
Create an application directory
Get new application components
Get tutorial components
Define the server environment
Copy the server executables
Start the JetNet manager
Create a middleware configuration file
Name the application
Get the machine's name and configuration file
Get the machine's port number
Provide the configuration file's location
Boot the application
Connect to the application
If you take a break
To resume the tutorial
What did you do?
What did you learn?
2. Configuring the Servers
Add servers to the application
Configure the standard server
Define server properties
Configure the file access server
Activate servers
If you take a break
What did you do?
What did you learn?
3. Setting Up the Client
UNIX Client
Apply environment settings
Connect to the middleware
Open a library and access library members
Save members to appropriate libraries
If you take a break
To continue the tutorial
Windows Client
Edit initialization files
Connect to the middleware
Open a library and access library members
Save members to appropriate libraries
If you take a break
What did you do?
What did you learn?
4. Defining a Test Service
Invoke the JIF editor
Define a service by connecting to the middleware
Are you connected?
For the next lesson
What did you do?
What did you learn?
5. Setting Up the Web Application Server
Before starting this lesson
Start the Web Setup Manager
Enter the program locations
Check the settings for your Web Application Server
General environment settings
3-Tier Configuration
Specify database settings and workstation jserver
Add JPL routines to the client library
Change permissions of shared files (UNIX only)
Test the connection
Stop and restart server after making any changes
Shut down the server
What did you do?
What did you learn?
Module 2—Creating and Testing Screens
6. Creating a Repository
Connect to the middleware
Create a repository
Connect to the database
Import database tables
View repository contents
What did you do?
What did you learn?
7. Using the Screen Wizard
Open the repository
Create screens with the screen wizard
Specify the contents of the master section
Define the detail columns
Specify application architecture
Determine service operations
Customize the output screen
Save the screens
What did you do?
What did you learn?
8. Defining Services
Invoke the JIF Editor
Define a service
What did you do?
What did you learn?
9. Testing the Screens
Access test mode
View data
Edit the data
Save the changes
Add a new record
What did you do?
What did you learn?
10. Setting Properties to Query the Database
Using the Properties window
Change properties locally
Edit the service component
View specific records
What did you do?
What did you learn?
Module 3—Connecting the Screens
11. Enhancing the Screen
Access table view properties
Update the JIF
Resize the screen
Move widgets
Open a repository entry
Copy widgets
Name the widgets
Define the query fields
Synchronize the service component
Query the database
What did you do?
What did you learn?
12. Inheriting from the Repository
Define user input
Define what the user sees
Propagate changes to screens and service components
Edit inherited property values
Create a push button widget
Define push button behavior
Create a buttons repository entry
What did you do?
What did you learn?
13. Writing and Executing JPL
Write a procedure to access a distributor's orders
Write a procedure to receive data
Generate a unique ID number
Insert the ID in the Database
Invoke the hook function on the server
Write a hook function for the client event
Invoke the hook function for the client event
Add a new database record
View orders
What did you do?
What did you learn?
14. Customizing Screen Behavior
Add double-click functionality
Write a screen entry function that executes only on screen exposure
Test the JPL
What did you do?
What did you learn?
Module 4—Extending the Application
15. Implementing Selection Screens
Join multiple tables
Add details from another table
Generate selection screens
Save the wizard output
Define link and validation services
Test the selection screen
Validate the data
What did you do?
What did you learn?
16. Calculating Data from Database Values
Add a column to the grid widget
Define a currency format
Define a math expression (for server processing)
Add the widget to a table view
Calculate results on the server
Calculate results on the client
Update totals on transaction manager events
Delete a detail record
Validate client data
Clearing data in a virtual field
Update a detail record
Connect two screens
What did you do?
What did you learn?
17. The Finale
A. Setting Up the Tutorial
B. Troubleshooting
Error Files
Setup and Connection Problems
Starting the application or servers
Booting the application
Activating a server
Setting up the Web application server
Starting the client
Starting a UNIX client
Connecting the client
Connecting to the server remotely
Connecting to the server locally
Accessing remote libraries
Index