Hi.

Do I have to use the following code :

    Hashtable jndiProperties = new Hashtable();

jndiProperties.put("java.naming.factory.initial","org.jnp.interfaces.NamingC
ontextFactory");
    jndiProperties.put("java.naming.provider.url","localhost");
    jndiProperties.put("java.naming.factory.url.pkgs","org.jboss.naming");
    javax.naming.Context jndiContext = new InitialContext(jndiProperties);

when using integrated jboss+tomcat ?

or is

    javax.naming.Context jndiContext = new InitialContext()

enough ?

They use the same jndi , dont they ? (or dont i understand something)

Shahar.





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to