This should be very simple. Look at the External Connection example then either write your own connection pool handler, retool the existing one "DefaultConnectionPool" or use the connection pool supplied be the DB vendor. It may look hard but all you are doing is writing a simple adapter to map DataSource#getConnection to ConnectionPool#getConnection. One limitation you will run into is that you can't use the simple command line tools, your main code will need to create and register the connection pool. So in your case, you will probably create the JNDI connection, create an instance of your adapter code using the DataSource as a constructor, registering you adapter code with the ConnectionPoolManager, in Xalan, then running your transformation.
Best bet is to look at the example code, then ask questions from there.
HTH John G
Vonteru, Vinesh - ESA CTR wrote:
Hi,
I am using Xalan as the XSLT processor. I am using sql extensions. Is there a way to use javax.sql.DataSource implementation.
thanks Vinesh Vonteru
