Listing 7: personalIdentity.xml
<?xml version="1.0" encoding="UTF-8"?>
<identities>
	<identity>	     
        <identityName>ABC Wireless Inc. Personal Identity Number</identityName>
	    <identityType>ABC_PIN</identityType>
		<minimumLength>10</minimumLength>
		<maximumLength>10</maximumLength>
		<mask>^([A-Z]{1}[-]{1}[A-Z0-9]{3}[-]{1}[A-Z0-9]{4})$</mask>
<minLengthErrorMessageKey>validator.abc.pin.invalid.minLength
                                              </minLengthErrorMessageKey>
<maxLengthErrorMessageKey>validator.abc.pin.invalid.maxLength
</maxLengthErrorMessageKey>
<maskErrorMessageKey>validator.abc.pin.invalid.mask
</maskErrorMessageKey>
<defaultErrorMessageKey>validator.identity.all.default.invalid
</defaultErrorMessageKey>
	</identity>
	<identity>	     
        <identityName>DRIVER LICENSE</identityName>
	    <identityType>DRIVER_LICENSE</identityType>
		<minimumLength>17</minimumLength>
		<maximumLength>17</maximumLength>
		<mask>^([A-Z]{1}[0-9]{4}[-]{1}[0-9]{5}[-]{1}[0-9]{5})$</mask>
<minLengthErrorMessageKey>validator.driver.license.invalid.minLength
</minLengthErrorMessageKey>
<maxLengthErrorMessageKey>validator.driver.license.invalid.maxLength
</maxLengthErrorMessageKey>
<maskErrorMessageKey>validator.driver.license.invalid.mask
</maskErrorMessageKey>
<defaultErrorMessageKey>validator.identity.driver.license.default.
invalid</defaultErrorMessageKey>
	</identity>
	………
</identities>

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.