Below code works fine when I run this as a stand alone appli cation.
However, when I expose this as a operation in a webervice, it throws below error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
I am trying this with the apache, I have exposed this as a webservce.
Any suggestions for this. I tried even DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver())
it does not work even for this. Both of them are working fine when I run them as stand alone on Eclipse, when I espose it as websevice it does not work.