92 lines
6.3 KiB
HTML
92 lines
6.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="copyright" content="(C) Copyright IBM Corporation 2005" />
|
||
|
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
|
||
|
<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="concept" />
|
||
|
<meta name="DC.Title" content="Setting up the sample Java plug-in" />
|
||
|
<meta name="abstract" content="The sample Java plug-in works with message queues in QUSRSYS on a given iSeries server." />
|
||
|
<meta name="description" content="The sample Java plug-in works with message queues in QUSRSYS on a given iSeries server." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakxinstrunsmpleplug.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakxjavadiroffiles.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakxjavadiroffiles.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="http://www.ibm.com/eserver/iseries/access/toolkit/opnav_plugins.htm" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzakxinstrunsmpjava" />
|
||
|
<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>Setting up the sample Java plug-in</title>
|
||
|
</head>
|
||
|
<body id="rzakxinstrunsmpjava"><a name="rzakxinstrunsmpjava"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Setting up the sample Java plug-in</h1>
|
||
|
<div><p>The sample Java™ plug-in works with message queues in QUSRSYS on a given iSeries™ server.</p>
|
||
|
<p>The first plug-in allows you to view, add and delete messages in your default message queue, the one with the same name as your iSeries user
|
||
|
ID. The second plug-in adds support for multiple message queues. Finally, the third plug-in adds the ability to drag and drop messages between queues.</p>
|
||
|
<p>In addition to installing the plug-in code, the sample plug-in includes Java docs, a Readme.txt file, and two
|
||
|
registry files, one for use during development and another for distribution with the retail version. See the Sample Java plug-in
|
||
|
directory of files for a detailed description of all files included with the Java plug-ins.</p>
|
||
|
<p>To set up the sample Java plug-in:</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top" width="25%">Download the sample Java plug-ins</td>
|
||
|
<td valign="top" width="75%">Download the executable file jvopnav.exe. When you run this file, it will extract all of the previously mentioned files. You should allow the executable to install the files in the default
|
||
|
directory: jvopnav\com\ibm\as400\opnav.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="25%">Identify the plug-in to iSeries Navigator</td>
|
||
|
<td valign="top" width="75%"> <ol><li>Edit the file MsgQueueSampleX.reg in jvopnav\com\ibm\as400\opnav\MsgQueueSampleX. (X=1, 2 or 3, depending on which sample you are installing.)</li>
|
||
|
<li>Find the lines: "NLS"="c:\\jvopnav\\win32\\mri\\MessageQueuesMRI.dll" and "JavaPath"="c:\\jvopnav"</li>
|
||
|
<li>Replace "c:\\" with the fully-qualified path to the jvopnav directory on your PC. You must double all back slashes in the path.</li>
|
||
|
<li>Save your changes, and double click the registry file.</li>
|
||
|
</ol>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="25%">Run the sample Java plug-in.</td>
|
||
|
<td valign="top" width="75%"> <ol><li>Start iSeries Navigator, and click on the "+" next to an iSeries server to expand the tree.</li>
|
||
|
<li>iSeries Navigator will detect the changes to the registry, and prompt you to scan the iSeries server in order to verify that it is capable of supporting the new plug-in.</li>
|
||
|
<li>Click <span class="uicontrol">Scan Now</span></li>
|
||
|
<li>iSeries Navigator will scan the iSeries server.
|
||
|
When it finishes, it will display a new folder in the hierarchy tree, Java Message Queue Sample 1, 2 or 3.</li>
|
||
|
<li>Double click on the new folder</li>
|
||
|
<li>The first sample plug-in will display the contents of your default message queue in QUSRSYS on the iSeries server. The
|
||
|
second and third samples will display a list of message queues.</li>
|
||
|
<li>Add a new message by right-clicking on the message queue folder, and selecting <span class="menucascade"><span class="uicontrol">New</span> > <span class="uicontrol">Message</span></span>.</li>
|
||
|
<li>The plug-in displays a PDML dialog allowing you to enter the message text.</li>
|
||
|
<li>Delete a message by right-clicking on a message and selecting <span class="uicontrol">Delete</span>. You can also do this from the toolbar.</li>
|
||
|
<li>If you're using the third sample plug-in, you can select a message, drag it to another queue, and then drop it.</li>
|
||
|
<li>The plug-in will then move the message to the other queue.</li>
|
||
|
</ol>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzakxjavadiroffiles.htm">Sample Java plug-in directory of files</a></strong><br />
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakxinstrunsmpleplug.htm" title="The Programmer's Toolkit supplies sample plug-ins in each of the supported programming languages.">Install and run sample plug-ins</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzakxjavadiroffiles.htm">Sample Java plug-in directory of files</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="http://www.ibm.com/eserver/iseries/access/toolkit/opnav_plugins.htm" target="_blank">Download the executable file jvopnav.exe.</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|