JNDIProviderFactory Configuration

The JNDIProviderFactory can be configured trough a Properties object like other providers as well. There are two Properties recognised by the JNDIProviderFactory class:

Table 11.1. Configuration Properties Recognised by org.tm4j.topicmap.jndi.JNDIProviderFActory

Property NameDescription
jndi.envThe name of the JNDI environment, as long as you use jakarta-tomcat, the default setting "java:comp/env" is fine.
jndi.provider The JNDI name of the provider exported, as long as you use the example server.xml, the default "provider" should be fine, this entry must be different for every exported provider though.