In a real system, how are people setting up the naming provider?
Is anyone using jndi.properies?
I have some code in my client to explicitly set the system properties:
System.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
System.setProperty("java.naming.provider.url",
"localhost:1099");
I have seen others who have defined a <context-param> for each of these
parameters in a .xml file (ejb-jar.xml or jboss.xml?). The env is then read
in and set.
Is this the normal way of doing this or is there a way to get
jndi.properties to be read automatically?
thanks!
mike.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user