Thursday, August 19, 2004 03:05 AM
When creating an initial context for a J2EE application, you can construct the initial context in two ways:
InitialContext context = new InitialContext(); // No arguments
InitialContext context = new InitialContext(Hashtable hash); // Hashtable argument
I don't understand how you can create a connection to JNDI without specifying the properties (e.g. server URL) such is the case with the no argument constructor?
Please help, anyone.