Welcome to the homepage of the XNam JNDI Service provider. XNam is a service provider for the Java Naming and Directory Interface (JNDI). XNam provides Java applications with a naming service that reads its information from XML files and is accessible through the JNDI interface. As such, XNam allows developers to define objects in XML and access them in their code using JNDI.
The primary goal of XNam is to provide Java developers with an easy to use JNDI naming service.
Because XNam stores its naming data in XML files, it is easy to modify the object definitions by
hand using a simple text editor. This provides a lot of flexibility that is currently lacking in
most other JNDI service providers.
XNam is mainly targeted at the development environment, where it serves as a light weight replacement for other JNDI service providers, for instance when running unit tests. However, it can also be used in production environments.
Note that XNam only provides naming services. JNDI also defines directory services, but they are not supported by XNam. If you are looking for an XML based directory service, check out DSML. A list of JNDI service providers can be found at http://java.sun.com/products/jndi/serviceproviders.html.
XNam is a JNDI 1.2 service provider and adheres to the JNDI 1.2 specification.
XNam uses a free for non-commercial use license. Examples of non-commercial deployment include:
If you want to use XNam for commercial purposes, you'll have to obtain a commercial license. If you purchase a commercial license, you will also get complete access to the XNam source code. Please contact Ervacon for more information.
The XML schema used by XNam is that defined by JSR-57: Long-Term Persistence for JavaBeans. This is an elegant and powerful way of encoding Java objects in XML. JavaBeans can be persisted to XML as-is, without any code modifications. Because most objects that are stored in JNDI adhere to the JavaBeans specification, XNam can be easily integrated into existing applications. However, JSR-57 also supports specialized persistence behavior if this would be required. A detailed discussion of the XML schema defined by JSR-57 can be found in the article Long Term Persistence of JavaBeans Components: XML Schema.
Starting from Java 2 Platform, Standard Edition (J2SE) version 1.4.0, the long-term persistence for JavaBeans facilities defined by JSR-57 are available in the java.beans package, namely in the XMLEncoder and XMLDecoder classes. XNam uses this API to read the XML files containing the naming information. As such, XNam requires J2SE 1.4.0 or later.
XNam is distributed as a zip archive. After downloading this archive you will need to unzip it. Use whatever program is available to you to do this, e.g. WinZip if you're using a MS Windows system.
The distribution archive contains the XNam jar file, together with installation instructions and documentation.
|1.0.0 - 16/04/2003||~50KB||xnam1.0.0.zip|
Any remarks, requests, bug reports or other comments that you might have on XNam can be send to: