Archives

Posts Tagged ‘jndi’

Using JNDI javax.naming.Context context = new javax.naming.InitialContext(); javax.sql.DataSource ds =  (javax.sql.DataSource) context.lookup(“java:comp/env/jdbc/XXXJNDINAMEXXX”); java.sql.Connection con = ds.getConnection();

Jan 14th, 2009 | Filed under java, oracle
Tags: , ,