AS/400 Toolbox for Java \
Tips for programming
Tips for programming
This section features pointers for programming with the AS/400
Toolbox for Java. Select the links below to view the tips.
- Find out how to properly shut down
your Java program.
- Use integrated file system path names
in your programs. This section covers integrated file system path
names, parameters, and special values.
- Follow these tips on managing
connections to an AS/400. See how to use the AS400 class to
start and end socket connections.
NOTE:
If your application is an Enterprise Java Bean, consider turning
off Toolbox thread support. Your application will be slower but
will be compliant with the Enterprise Java Bean specification.
- Read about running AS/400 Toolbox for Java classes on the Java virtual machine for AS/400. This section
covers how to best access AS/400 resources, how to run the classes,
and what sign-on factors to consider.
- When programming with the AS/400 Toolbox for Java access
classes, use the exception classes to
handle errors.
- When programming with the graphical user interface (GUI)
classes, use the error events classes to
handle errors.
- See how to use the Trace class in your
programs.
- Find out how to optimize your program for
better performance.
- Use the install and update section
for information about the AS400ToolboxInstaller class and managing
AS/400 Toolbox for Java classes on a client.
- Read about AS/400 Toolbox for Java and Java
national language support.
- See these resources for AS/400 Toolbox for Java Service and support.
- Use the JarMaker class and create faster loading Java Toolbox JAR files.