Re: Connecting To DB via Java Applet
Date: 2000/06/19
Message-ID: <394E10B4.9C51E90C_at_lhsystems.com>#1/1
Hi,
there is a workaround to access a remote database from an applet. You have to use the connection manager provided by oracle. From the applet you connect to the connection manager running on the same machine as the webserver. You give the connection manager the connection data for your remote database and it sets up this connection. For the browser it looks as if the applet only connects to the host it resides, so there is no security problem!
Best regards,
Yvonne Ruthard
Jens Hartwig wrote:
> an unsigned applet can only open connections to databases which are
> located on exactly the same server as the webserver the applet
> originates from. In practice you must place the webserver with the
> applet on the same machine the database is installed on (or the other
> way round).
>
> private_comm_at_my-deja.com wrote:
>
> > The documentation says that an applet can only open connections to the
> > network source from which it was loaded. Does this mean if I upload
> > the HTML and relating applet to the webserver, everything will be okay -
> > even if the DB is on another machine?
> >
Received on Mon Jun 19 2000 - 00:00:00 CEST