Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Java Connection to Oracle
Yes, it is possible. From an Applet (as opposed to an application), you need
to configure your setup so that the HTTP server your applet is loaded from is
at the SAME IP address as your database. (This is due to the Security Manager
in your browser that is trying to protect you from hostile Applets.) . Then get
the Oracle Thin driver (which is packaged together with a supporting library of
java classes in a zip file) from the Oracle site and reference it on your
classpath. (Some sample code also comes with the zip from Oracle.) Follow the
yellow brick road.
Note that if there's a firewall between you and the server you may have to make some adjustments--probably to the firewall. Another option is to run the http server and a copy of Oracle otsude the firewall, and then let that Oracle instance communicate via Oracle links through the firewall to the "main" database. That way your browser is officially talking to the "right" host..
Good luck.
Ulrich Schultze Germany wrote:
> Is it possible to connect to an ORACLE database version 7.3.2.3.0 via
> Java-Applet?
>
> All my tries where not successful and up tp now nobody could answer me that
> question.
Received on Sun Dec 27 1998 - 18:01:40 CST