jQuery in Action, 3rd edition
The moose likes Applets and the fly likes JDBC with applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "JDBC with applets" Watch "JDBC with applets" New topic

JDBC with applets

Rakesh Gadre
Ranch Hand

Joined: Feb 22, 2003
Posts: 47
Hi all,
I am working on an application in which I have to acces the database with Applet.
I am aware of the concept of .java.policy file on the client side.
Now, the problem is, how to send that file on the client system from the web server ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17280

The policy file is part of the signed jar that contains the applet. The signature factors in both the applet code AND the policy file so that no one can tamper with the policies.
Of course, I strongly discourage 2-tier applet design for reasons I listed here.
3-tier solutions can be done without all the mess and bother of applet signing.
[ May 06, 2003: Message edited by: Tim Holloway ]

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link: http://aspose.com/file-tools
subject: JDBC with applets
It's not a secret anymore!