Obix Labs XConfig now available.

how-to
Nov 4, 20101 min

Obix Labs are pleased to announce the official release of XConfig: a Spring compatiable Java/XML configuration library. It supports auto-reload, annotations, Spring property placeholders etc. Unlike Spring Config (JConfig) it does not require users to write new classes or to use property files.

For example, it can be integrated into a Spring application like so:

  • Annotations which are handled by the bean factory. For example:

    
    @FromConfiguration("/@London")
    private String greetingInLondon;
    
  • Property placeholders like:
    
    <property name="greetingInLondon" value="${/@London}"/>
    

XConfig supports modular XML configuration files. This modularity not only allows better organization of configuration data, but also means that you can seperate out configuration data based on deployment roles/profiles. For example database or production sensitive information which is only set by system administrators at deploy time can be encapsulated in a seperate and easy to understand file.

XConfig also supports auto-reload. This means that configuration changes can be detected almost immediately at runtime, thus removing the need to stop and restart applications when making configuration changes–although this feature is not enabled for Spring annotations or placeholders.

For more information, go to the site: https://www.obix-labs.com/display/jsp/technology/xconfig.jsp