<?xml version="1.0" encoding="UTF-8"?>
<doc xmlns:snapin="http://www.hardlight.com.au" name="servletlm" Title=" ServletLM - License Manager Extension" serveraddress="www.hardlight.com.au" httpport="80" basepath="/" pageid="77" securerequest="false" pagetypename="Content" pagetypeid="2" serverport="80">
<Menu>
<mainnavmenu/>
<MenuItem>
<Hyperlink>
<link name="Home" type="internal" id="page?pg=1"/>
<linktext>Home</linktext>
</Hyperlink>
</MenuItem>
<MenuItem>
<Hyperlink>
<link name="sitemap" type="internal" id="page?pg=2"/>
<linktext>sitemap</linktext>
</Hyperlink>
</MenuItem>
<MenuItem>
<Hyperlink>
<link name="aboutus" type="internal" id="page?pg=22"/>
<linktext>About Us</linktext>
</Hyperlink>
</MenuItem>
<MenuItem>
<Hyperlink>
<link name="contactus" type="internal" id="page?pg=46"/>
<linktext>Contact Us</linktext>
</Hyperlink>
</MenuItem>
<MenuItem>
<Hyperlink>
<link name="servletlm" type="internal" id="page?pg=77"/>
<linktext> ServletLM - License Manager Extension</linktext>
</Hyperlink>
</MenuItem>
</Menu>
<Document download="true" name="ServletLM.doc" id="83" instanceid="396" folderid="100" modifieddate="1138263196997" creationdate="1136894379504" type="">
<Properties Title=" ServletLM - License Manager Extension" author="Jason Eacott" comments="ServletLM is a 100% JAVA license manager extension that enables protection for per-context and per-instance licensing in standalone and J2EE applications. FREE DEMO" company="-" docID="83" keywords="servletlm,servlet,java,jsp,tomcat,licence,manager,key,license, license manager,bean,j2ee,java,javabean,licence,license,restrict instance,servlet,servlet and jsp,trial,application server,j2ee application server,java application,java component,java licence,java licence manager,java license,java license manager,java util,java utility,jsp licence,jsp licence manager,jsp license,jsp license manager,licence management,licence manager,license management,license manager,servlet licence,servlet licence management,servlet license,servlet license management,tomcat application server,websphere application server,java code,code,jar,class,developer,development,util,tool,lib,library">
<sourcedocument docID="83"/>
</Properties>
<Section>
<P>
<heading>ServletLM</heading>
</P>
<P>
<B>A 100% Java License Manager Extension.</B>
</P>
<P>
<list_bullet>
<B>ServletLM</B> is a small JAVA utility that makes “per-application instance” licensing possible and enforceable. Most third party licence managers don't even try to manage licences this way.</list_bullet>
</P>
<P>
<list_bullet>
<B>ServletLM</B> is a JAVA package that as far as possible allows only as many application instances to run as there are licence keys. It will not allow the same key to be used multiple times on the same machine unless specified.</list_bullet>
</P>
<P>
<list_bullet>
<B>ServletLM</B> can be used for standalone applications, but <B>makes licensing per Web Context possible in servlet and j2ee environments</B>, even if it's the same application being deployed.</list_bullet>
</P>
<P>
<list_bullet>This can be useful when ISP's are running (and should be licensing) multiple copies of your web application on the same machine.</list_bullet>
</P>
<P/>
<P>
<quote>Its aim is to keep the honest users honest.</quote>
</P>
<P>
<subheading_2>
<Hyperlink>
<link id="binaries?img=50" name="servletLMTrial1.zip" type="internal"/>
<linktext>Download Free Trial (and DEMO) Now  - 83kb Zip File</linktext>
</Hyperlink>
</subheading_2>
</P>
<P>
<Table>
<row index="1">
<cell column="1" row="1">
<P>
<heading>Full Version - Just $29<BR/>per developer.
</heading>
</P>
</cell>
<cell column="2" row="1">
<P>
<body_text>
<Hyperlink>
<link id="https://www.paymate.com.au/PayMate/ExpressPayment?mid=jasone&amp;amt=29&amp;return=http://www.hardlight.com.au/page/zmanifest/paymateslm&amp;ref=ServletLM&amp;amt_editable=N&amp;currency=USD" type="external"/>
<image file="pic1.jpg" height="60" img="378" width="189"/>
</Hyperlink>
</body_text>
</P>
</cell>
</row>
</Table>
<body_text>This package can be used in conjunction with pretty much any third party licensing tool.<BR/>It does not attempt to manage or verify licences as such, but rather to reliably monitor the number of times a single licence is used simultaneously on any given machine.</body_text>
</P>
<P/>
<P>
<subheading_2>Basic Usage Overview</subheading_2>
</P>
<P>
<indent>import au.com.hardlight.lm;</indent>
</P>
<P>
<indent>Manager mn=new Manager("any.licence.key");<BR/>//test if current licence is valid.<BR/>if (mn.getStrLicenced().equals(mn.getLicenceStatus())) { Do something };<BR/>mn.verify(); //test and possibly aquire/reaquire an available slot for this licence<BR/>mn.close(); //free's current licence slot<BR/>mn=null; // this will also free current licence slot but only when gc cleans it up.</indent>
</P>
<P/>
<P>
<subheading_1>Features</subheading_1>
</P>
<P>
<list_number>
<lnum level="1">1.</lnum>ServletLM can be used within a Servlet or j2ee application server environment, or in any Java application.</list_number>
</P>
<P>
<list_number>
<lnum level="1">2.</lnum>ServletLM enables per context (or even tighter) restrictions for your licences.</list_number>
</P>
<P>
<list_number>
<lnum level="1">3.</lnum>Simple to include in almost any JAVA application.</list_number>
</P>
<P>
<list_number>
<lnum level="1">4.</lnum>ServletLM works in conjunction with third party licensing software.</list_number>
</P>
<P>
<list_number>
<lnum level="1">5.</lnum>Does not use any network connectivity, and can be quickly integrated into most applications.</list_number>
</P>
<P>
<list_number>
<lnum level="1">6.</lnum>Designed to be of minimum annoyance/inconvenience to your clients. They will not know it exists until it prevents an invalid licence usage.</list_number>
</P>
<P>
<list_number>
<lnum level="1">7.</lnum>Requires no servers, no special ports to be opened, no internet connectivity, and will only increase the size of your application by a few kb.</list_number>
</P>
<P>
<list_number>
<lnum level="1">8.</lnum>Categorise your licences with namespaces.</list_number>
</P>
<P>
<list_number>
<lnum level="1">9.</lnum>The actual <B>licensing scheme is up to you</B>, as is the Licence Management.</list_number>
</P>
<P>
<list_number>
<lnum level="1">10.</lnum>Flexible licensing.  You can <B>set the number of allowable active instances</B> for any given key.</list_number>
</P>
<P>
<list_number>
<lnum level="1">11.</lnum>Minimum overhead. ServletLM is a very small, lightweight utility. </list_number>
</P>
<P>
<list_number>
<lnum level="1">12.</lnum>No brainer pricing. Why roll your own when you can use ServletLM for all your projects for less than the cost of an hour of your time.</list_number>
</P>
<P/>
<P>
<subheading_1>Hints</subheading_1>
</P>
<P>
<body_text>If you really want to enforce a single licence, single instance licensing policy then you can lock a given licence to a machines MAC or IP address and then use ServletLM to ensure only X number of copies can be run.</body_text>
</P>
<P/>
<P>
<body_text>If your Licence Manager doesn't allow you access to the actual licence key then you can still use ServletLM. All you need is something unique relating to the key. Perhaps create a String of all the fields in your licence key and then pass it, or a hash, or an encryption of that String to ServletLM instead of the actual licence key that your Licence Manager uses. Any unique String will suffice for ServletLM to work.</body_text>
</P>
<P/>
<P>
<body_text>An Excellent and ServletLM compatible <B>free Open Source Licence Manager</B> is available at <Hyperlink>
<link id="http://truelicense.dev.java.net/" type="external"/>
<linktext>http://truelicense.dev.java.net</linktext>
</Hyperlink>
</body_text>
</P>
<P/>
<P>
<body_text>No JAVA application is truly secure or hack proof. ServletLM is intended to help keep the 99.9% of honest users honest, to give you options on licensing models, and to help you keep track of installed instances of your software.</body_text>
</P>
<P/>
<P>
<subheading_2>
<Hyperlink>
<link id="binaries?img=50" name="servletLMTrial1.zip" type="internal"/>
<linktext>Download a free trial now</linktext>
</Hyperlink>
</subheading_2>
</P>
<P/>
<P/>
</Section>
</Document>
<Document download="true" name="emptydocument.mfs" id="1" instanceid="397" folderid="1008" modifieddate="1080655146704" creationdate="1080655146704" type="null">
<image_align_right>
<copy>
<div align="right">
<p>
<a onclick="self.name = 'parent';" href="https://www.paymate.com.au/PayMate/ExpressPayment?mid=jasone&amp;amt=29&amp;return=http://www.hardlight.com.au/page/zmanifest/paymateslm&amp;ref=ServletLM&amp;popup=false&amp;amt_editable=N&amp;currency=USD">
<img src="https://www.paymate.com.au/images/Paymate-Express-Banner-190x60.gif" border="0" alt="Pay with Paymate Express"/>
</a>
</p>
</div>
</copy>
</image_align_right>
<Properties author="Jason Eacott" company="HL" docID="1">
<sourcedocument docID="1"/>
</Properties>
<Section>
<P/>
<P/>
</Section>
</Document>
</doc>
