3 Replies Latest reply on Jan 9, 2004 1:27 AM by Sven Baumgarten


    Sven Baumgarten Newbie


      If I want to get the Context of a server from a client I have to do something like this:

      java.util.Properties p = new java.util.Properties();
      javax.naming.InitialContext ctx;
      ctx = new javax.naming.InitialContext(p);

      on the server I only need to do:

      ctx = new javax.naming.InitialContext();

      It looks like the server knows the initial context factory and the provider url. Is there any way to determine these parameter on the server?