72 lines
3.8 KiB
HTML
72 lines
3.8 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="Product license" />
|
||
|
<meta name="abstract" content="" />
|
||
|
<meta name="description" content="" />
|
||
|
<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="productlicense" />
|
||
|
<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>Product license</title>
|
||
|
</head>
|
||
|
<body id="productlicense"><a name="productlicense"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Product license</h1>
|
||
|
<div><p></p>
|
||
|
<div class="section"><p>The ProductLicense class enables you to request licenses for products
|
||
|
installed on the iSeries™. To be compatible with other iSeries license
|
||
|
users, the class works through iSeries product license support when
|
||
|
requesting or releasing a license.</p>
|
||
|
<p>The class does not enforce the license
|
||
|
policy but returns enough information such that the application can enforce
|
||
|
the policy. When a license is requested the ProductLicense class will return
|
||
|
the status of the request -- license granted or denied. If the request is
|
||
|
denied the application must disable the behavior that required the license
|
||
|
because the IBM<sup>®</sup> Toolbox
|
||
|
for Java™ does
|
||
|
not know which function to disable.</p>
|
||
|
<p>Use the ProductLicense class with iSeries license
|
||
|
support to enforce the license of your application:</p>
|
||
|
<ul><li>The server side of your application registers your product and license
|
||
|
terms with iSeries license
|
||
|
support.</li>
|
||
|
<li>The client side of your application uses the ProductLicense object to
|
||
|
request and release licenses.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Example: ProductLicense scenario</h4><p>For example, suppose
|
||
|
your customer bought 15 concurrent use licenses for your product. Concurrent
|
||
|
use means 15 users can use the product at the same time, but it does not
|
||
|
need to be 15 specific users. It can be any 15 users in the organization.
|
||
|
This information is registered with iSeries license support. As users connect
|
||
|
your application uses the ProductLicense class to request a license.</p>
|
||
|
<ul><li>When the number of concurrent users is fewer than 15, the request is successful
|
||
|
and your application runs.</li>
|
||
|
<li>When the 16th user connects, the ProductLicense request fails. Your application
|
||
|
then displays an error message and terminates.</li>
|
||
|
</ul>
|
||
|
<p>When a user stops running the application, your application releases
|
||
|
the license by way of the ProductLicense class. The license is now available
|
||
|
for someone else to use.</p>
|
||
|
<p>For more information and a code example, refer
|
||
|
to the <a href="javadoc/com/ibm/as400/access/ProductLicense.html">ProductLicense javadoc</a>.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|