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 JavaBean, consider turning off IBM Toolbox for Java thread support.
Your application will be slower but will be compliant with the
Enterprise JavaBean specification.
- Read about running IBM 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 IBM 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.
- Read about the
performance improvements you can get when using the Java
virtual machine for AS/400.
- Use the install and update section
for information about the AS400ToolboxInstaller class and managing
IBM Toolbox for Java classes on a client.
- Read about IBM Toolbox for Java and Java
national language support.
- See these resources for IBM Toolbox for Java Service and support.
- Use the JarMaker class and create faster
loading IBM Toolbox for Java JAR files.