[ Read Responses | Post a New Response | Return to the Index ]
[ Previous | Previous in Thread | Next ]
Re: JDBC in applets
Posted by Bernard on Friday, 4 July 2003, at 6:07 a.m., in response to JDBC in applets, posted by NSriram on Sunday, 25 May 2003, at 2:03 p.m.
Sure, you can, but you have to tweak the security first, by editing the java.policy file on the server housing the database.
(Remind that the webserver and database server must be the same machine, otherwise oracle connection manager is required)
Depending on what your applet does, you'll have to add to java.policy something like:
permission java.lang.RuntimePermission "accessClassInPackage.oracle.jdbc.driver.OracleDriver";
permission java.util.PropertyPermission "oracle.jserver.version", "read";
Read about the java security for more info/lines to add
Post a New Response
The TeamJava Forum is maintained with WebBBS 2.24.