hi i am tring to use connection pooling in java with postgresql database.
in given examples, i cant understand these file names that is given to create
InitialContext object, also that file names are different for each and every examples.
how can i get those files, and what are those..?
// Set up environment for creating initial context
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL, "file:c:\\JDBCDataSource");
Context ctx = new InitialContext(env);
// Register the data source to JNDI naming service
ctx.bind("jdbc/ConnectSparkyOracle", ds);