Websphere 3.5 has full support for JNDI and DataSources. We have 2 apps running with no problems. You just need to use IBMs context factory class. And have your Database Drivers in the class path for the current webapp you are working on.
Joined: Jun 01, 2001
Thanks for the reply.
I have made up a datasource name OraTest through Admin Console in Websphere and written the code given below. The problem is I am not able to compile it since its not finding the javax.sql.* packageg. If you can pls help:
Hi Can you please tell me why you require the code pertaining to the creation of the datasource is required in the servlet, after you have configured the datasource in admin console. Can't we straight away do the lookup and get the datasource in the servlet code. Please clarify. Thanks in advance Ram Kondawar