Contents

Config contains an XmlConfigurator that can load a JNDI tree with environment properties and resource references based on data in an XML configuration file. See Using for an example.

Usage

Used with naming-core, this package enables you to configure JNDI properties and resources similarly to what can be done in a J2EE container, but not requiring a container. Database connection pools, for example, can be configured and made available through JNDI for components in standalone applications.

Dependencies

naming-core, naming-factory, naming-java, commons-logging (1.0.3), commons-collections (3.1), commons-beanutils (1.6.1), commons-digester (1.4.1) and commons-lang (1.0.1) are all required for basic configuration operations. commons-dbcp (1.0) and commons-pool (1.0.1) are required if you want configure database connections, and hsqldb (1.7.1) is required to run the unit tests. Applications that create sendmail or mail session resources require javamail API and activation jars.