113 lines
7.3 KiB
HTML
113 lines
7.3 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Tips for programming" />
|
|
<meta name="abstract" content="This section features a variety of tips that can help you use IBM Toolbox for Java." />
|
|
<meta name="description" content="This section features a variety of tips that can help you use IBM Toolbox for Java." />
|
|
<meta name="DC.Relation" scheme="URI" content="page1.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="shutdown.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="ifspath.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="mngcon.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="jvm.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="iasp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="except.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="error.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="trace.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="opt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="progtipsperformance.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="install.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="jar.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="nls.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="support.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="progtips" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Tips for programming</title>
|
|
</head>
|
|
<body id="progtips"><a name="progtips"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Tips for programming</h1>
|
|
<div><p>This section features a variety of tips that can help you use IBM<sup>®</sup> Toolbox
|
|
for Java™.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="shutdown.htm">Shutting down your Java program</a></strong><br />
|
|
To ensure that your program shuts down properly, issue System.exit(0)
|
|
as the last instruction before your Java program ends.</li>
|
|
<li class="ulchildlink"><strong><a href="ifspath.htm">Integrated file system path names for server objects</a></strong><br />
|
|
Your Java program must use integrated file system names to
|
|
refer to server objects, such as programs, libraries, commands, or spooled
|
|
files. The integrated file system name is the name of a server object as
|
|
it might be accessed in the library file system of the integrated file system
|
|
on the iSeries™ server.</li>
|
|
<li class="ulchildlink"><strong><a href="mngcon.htm">Managing connections</a></strong><br />
|
|
It is important to be able to create, start, and end connections to your server. The following discussion explains concepts central to managing connections to your server and also offers some code examples.</li>
|
|
<li class="ulchildlink"><strong><a href="jvm.htm">i5/OS Java virtual machine</a></strong><br />
|
|
The IBM Toolbox
|
|
for Java classes
|
|
run on the IBM Developer
|
|
Kit for Java (i5/OS™) Java virtual machine (JVM). </li>
|
|
<li class="ulchildlink"><strong><a href="iasp.htm">Independent auxiliary storage pool (ASP)</a></strong><br />
|
|
An independent auxiliary storage pool (ASP) is a collection of disk units that you can bring online or take offline independent of the rest of the storage on a system.</li>
|
|
<li class="ulchildlink"><strong><a href="except.htm">Exceptions</a></strong><br />
|
|
The IBM Toolbox
|
|
for Java access
|
|
classes throw exceptions when device errors, physical limitations, programming
|
|
errors, or user input errors occur. The exception classes are based upon the
|
|
type of error that occurs instead of the location where the error originates.</li>
|
|
<li class="ulchildlink"><strong><a href="error.htm">Error events</a></strong><br />
|
|
In most cases, the IBM Toolbox for Java GUI components fire error events instead
|
|
of throw exceptions.</li>
|
|
<li class="ulchildlink"><strong><a href="trace.htm">Trace class</a></strong><br />
|
|
The Trace class allows the Java program to log trace points and diagnostic
|
|
messages. This information helps reproduce and diagnose problems.</li>
|
|
<li class="ulchildlink"><strong><a href="opt.htm">i5/OS optimization</a></strong><br />
|
|
The IBM Toolbox
|
|
for Java licensed
|
|
program is written in Java, so it runs on any platform with a
|
|
certified Java virtual machine (JVM). The IBM Toolbox for Java classes function in the same way no
|
|
matter where they run.</li>
|
|
<li class="ulchildlink"><strong><a href="progtipsperformance.htm">Performance improvements</a></strong><br />
|
|
With the additional classes provided by i5/OS™, Java programs running on the Java virtual
|
|
machine for iSeries™ experience
|
|
improved performance. Performance is improved in some cases because less
|
|
communication function is used, and in other cases, an iSeries™ API
|
|
is used instead of calling the server program.</li>
|
|
<li class="ulchildlink"><strong><a href="install.htm">Client installation and update classes</a></strong><br />
|
|
The IBM Toolbox
|
|
for Java classes
|
|
can be referenced at their location in the integrated file system on the server. </li>
|
|
<li class="ulchildlink"><strong><a href="jar.htm">AS400ToolboxJarMaker</a></strong><br />
|
|
While the JAR file format was designed to speed up the downloading
|
|
of Java program
|
|
files, the AS400ToolboxJarMaker generates an even faster loading IBM Toolbox for Java JAR
|
|
file through its ability to create a smaller JAR file from a larger one.</li>
|
|
<li class="ulchildlink"><strong><a href="nls.htm">Java national language support</a></strong><br />
|
|
Java supports a set of national languages, but it is
|
|
a subset of the languages that the server supports.</li>
|
|
<li class="ulchildlink"><strong><a href="support.htm">Service and support for the IBM Toolbox for Java</a></strong><br />
|
|
Use the following resources for service and support.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="page1.htm" title="IBM Toolbox for Java is a set of Java classes that allow you to use Java programs to access data on your iSeries servers. You can use these classes to write client/server applications, applets, and servlets that work with data on your iSeries. You can also run Java applications that use the IBM Toolbox for Java classes on the iSeries Java virtual machine (JVM).">IBM Toolbox for Java</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |