License Keys In Multi Server Development Environments

It is common practice to use multiple servers in the development of web applications, for example, an

application may go through a lifecycle;

developer machines (“localhost”) -> single development test server (“devServer”) -> QA server

(“qaServer”) -> production server (“prodServer”)

The current licensing system requires keys for “devServer”, “qaServer” and “prodServer” if they are

accessed through non local browsers (note; ‘devServer’ and ‘qaServer’ keys will be provided free), this

poses a problem since it is usually unacceptable to change the “licenseKey” attribute in the tag source code

for each server.

Since each server has it’s own environmental settings, it is likely that a config file is being used already,

if the config file is unique to each server, then the RapidSpellWeb license key for each server can also be

stored there. Once this is done it is easy to set the licenseKey attribute at runtime

Eg for RapidSpellWeb tag (same applies for RapidSpellWInlineHelper);

<%@ taglib uri="http://www.keyoti.com/" prefix="RapidSpellWeb" %>

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

<html>

<title>Spell Check</title>

<body>

<Center>

<%

String licenseKey = ....//Obtain license key from config file

%>

<RapidSpellWeb:rapidSpellWeb licenseKey="<%= licenseKey %>"/>

</center>

</body>

</html>