# Re: Applets-JDBC.

Marianne Mueller (mrm@Eng)
Sun, 13 Jul 1997 16:03:30 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marianne Mueller: "Re: 24 HOUR JAVASCRIPTS"
- Previous message: Marianne Mueller: "Re: incomplete export control terms and conditions ?"
- Maybe in reply to: Kamesh A: "Applets-JDBC."

    Date: Sun, 13 Jul 1997 16:03:30 -0700

    Message-Id: <199707132303.QAA01381@puffin.eng.sun.com>

    From: Marianne Mueller <mrm@Eng>

    To: akamesh@wipsys.stph.net

    Subject: Re: Applets-JDBC.

Hi,

In JDK 1.1, downloaded applets are prevented from accessing files on
the client side. A downloaded applet cannot automatically access a
database using JDBC, since to the applet, the database is like a local
file.

You might want to experiment with using a signed Java applet. If the
applet is signed by an entity that is marked as "trusted" to the
system where JDBC is running, then, the downloaded applet has access.

In the next major version of the JDK (due out later this year), this
situation will be vastly improved as we provide support for fine-grain
access control. You will be able to configure the Java sytem where
JDBC is running, so that particular applets are accorded particular
access rights. There is not yet a publically announced date for the
next major release of the JDK.

for now, I recommend that you take a look at the examples that ship
with the Java Web Server. They might have examples of
applets/servlets that take advantage of JDBC. For more info on the
Java Server, see http://jserv.javasoft.com/

Marianne

> Can an applet obtain a connection to a database through JDBC?
> We have developed applications using JDBC.
> Please send in the relevant information at the earliest.
> I had a look at your Applet-JDBC slides at your site.
>
> A.kamesh
> Systems Engineer.
> E-Mail : akamesh@wipsys.stph.net
> Wipro Systems,Sec'bad.
> India.

- Next message: Marianne Mueller: "Re: 24 HOUR JAVASCRIPTS"
- Previous message: Marianne Mueller: "Re: incomplete export control terms and conditions ?"
- Maybe in reply to: Kamesh A: "Applets-JDBC."