XMLmind Spell Checker supports the Java Web Start technology. This technology simplifies the deployment and maintenance of Java applications. See the Sun product page for more information.
For application designers, the basic constraint of Web Start is that all resources for the application must reside in jar files, and accessed through the ClassLoader.getResource() method. Unfortunately there is no way to list available resources and this was making dictionary management difficult in earlier versions of XMLmind Spell Checker.
To use XMLmind Spell Checker in a Web Start-enabled application, there is no other requirement than to provide the dictionaries in a specially prepared DAR archive. This archive (which is in fact a jar) will be a component of the Web Start application, as well as xsc.jar.
For example, here is the resources section of XSpell's JNLP descriptor[1]:
<resources>
<j2se version="1.4+"/>
<jar href="XSpell.jar" main="true" download="eager"/>
<jar href="xsc.jar" download="eager"/>
<jar href="dicts.dar" download="eager"/>
</resources>A ready to use dicts.dar is included in the SDK. It contains all the dictionaries provided by XMLmind. To modify this archive, for example add a dictionary to it, see the Dictionary Builder documentation.
[1] When using the evaluation version of the SDK, this resources section becomes:
<resources>
<j2se version="1.4+"/>
<jar href="XSpell.jar" main="true" download="eager"/>
<jar href="xsc.jar" download="eager"/>
<jar href="xsc_eval_key.jar" download="eager"/>
<jar href="dicts.dar" download="eager"/>
</resources>