XMLConfig
Configuration Management API for Java

What is XMLConfig?

XMLConfig is an XML-based generic configuration management API for Java. It can automatically transform XML-based configuration file to and from Java objects.

XMLConfig can also be used as a lightweight Java XML serialization protocol. A Java object can be serialized into an XML string, which can then be stored into a database or send over network. On the other hand, when such an XML string is received, the corresponding Java object can be retrieved automatically.

XMLConfig has a highly-efficient built-in XML parser, which makes XMLConfig be able to run on any environment with JDK 1.2 or higher without relying on extra XML processing packages. However, XMLConfig can also utilize any JAXP (Java API for XML Processing) compliant parser wherever it is available.

Why XMLConfig?

  • XMLConfig is easy to use.

  • With XMLConfig, configuration management becomes as simple as defining a Java data class.
  • XMLConfig is type safe.

  • Unlike Java "Properties" file, XMLConfig guarantees type safety. Configuration data are translated to corresponding Java objects. Validation is done at both XML and application data type level.
  • XMLConfig is flexible.

  • XMLConfig not only works for disk file, it can also work with other types of persistent storages, like database. In addition, it can send and receive Java objects over network as well.
  • XMLConfig is lightweight.

  • The system footprint for XMLConfig, including a built-in XML parser is under 20k. So, it can be easily integrated into Java applets. Since the data is serialized as XML, it can be used as data transfer protocol between web client and web server without being affected by corporate firewalls.

    How to install XMLConfig?

    See Installation Guide for XMLConfig.

    How to use XMLConfig?

    What's in the demo version of XMLConfig?

    The demo version has most of the functionality of the release version of XMLConfig, except with following limitation:
    • For the primitive data types, only Java 'short' and 'Sting' are supported.
    • For the container data types, only 3 elements are allowed in a container.
    • XML validation is not supported.
    To buy the release version, please go to http://www.SunwestTek/xmlconfig/.

    Questions/comments on XMLConfig?

    Please mail your questions/comments/bug reports to xmlconfig@SunwestTek.com.

    ©1998-2002 Sunwest Technologies.