Hi,
I have a question:
The Tomcat's (4.1.x) data source can be accessed by an external java class? ( This class does not reside in the Tomcat container).
My meaning is, could I use the Properties to initial the context like this?
Properties env = new Properties();
env.put("java.naming.factory.initial","xxxxxxx");
env.put("java.naming.provider.url", "yyyyyyy");
InitialContext ctx = new InitialContext(Properties env );
DataSource ds = (DataSource) ctx .lookup(DSName);
If the external java class can access the data source in Tomcat, how to do it?
Thanks.