75 lines
4.2 KiB
HTML
75 lines
4.2 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="Long description of Figure 1: Making program calls to the server using PCML (rzahh503.gif)" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="pcmlproc.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="rzahh503" />
|
||
|
<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>Long description of Figure 1: Making program calls to the server using
|
||
|
PCML (rzahh503.gif)</title>
|
||
|
</head>
|
||
|
<body id="rzahh503"><a name="rzahh503"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Long description of Figure 1: Making program calls to the server using
|
||
|
PCML (rzahh503.gif)</h1>
|
||
|
<div><div class="section"><p><strong>found in IBM<sup>®</sup> Toolbox for Java™: PCML Process</strong></p>
|
||
|
<p>This image
|
||
|
illustrates how Java applications can interact with the PCML classes.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Description</h4><p>The image is divided into two areas:
|
||
|
an upper portion that represents the Java environment and a lower portion that
|
||
|
represents the nonJava part of the PCML process.</p>
|
||
|
<ul><li>The Java environment (upper portion) includes four shapes
|
||
|
labeled "Application," "PCML Classes," "IBM Toolbox for Java Access Classes," and "XML Parser."</li>
|
||
|
<li>The nonJava part of the process (lower portion) includes two shapes labeled
|
||
|
"PCML Source," and "PCML Serialize," and an image of an iSeries™ server
|
||
|
labeled "iSeries DPC
|
||
|
Server."</li>
|
||
|
<li>Arrows that point one or both directions connect the shapes. An arrow
|
||
|
that points to both shapes means that the two shapes interact with one another.
|
||
|
An arrow that points in only one direction means that the shape pointed to
|
||
|
uses the other shape in some way.</li>
|
||
|
</ul>
|
||
|
<p>The Java application interacts with the PCML classes. In
|
||
|
this example, the application creates a ProgramCallDocument object.</p>
|
||
|
<p>When
|
||
|
the ProgramCallDocument is constructed, one of two things happens:</p>
|
||
|
<ul><li>The XML parser parses the PCML source files and passes the information
|
||
|
to the PCML classes. The PCML source files describe the interfaces to the iSeries
|
||
|
programs called by your Java application.</li>
|
||
|
<li>Serialized PCML information is passed to the PCML classes. Using serialized
|
||
|
PCML improves run-time performance because the PCML has already been parsed.
|
||
|
If you choose to serialize your PCML source, you must do so when you build
|
||
|
your application.</li>
|
||
|
</ul>
|
||
|
<p>The PCML classes also interact with the IBM Toolbox for Java classes, which in this example use
|
||
|
the iSeries distributed
|
||
|
program call server to retrieve information from the server.</p>
|
||
|
<p>These actions
|
||
|
and interactions enable information to pass between the Java application
|
||
|
and iSeries programs.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="pcmlproc.htm" title="To build iSeries program calls with PCML, you must start by creating a Java application and a PCML source file.">Building iSeries program calls with PCML</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|