dcsimg
Initial Context (Please Help)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ravi_Singh
Posted On:   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.

About | Sitemap | Contact