wood burning stoves 2.0*
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: 15957

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 ]

Customer surveys are for companies who didn't pay proper attention to begin with.
jQuery in Action, 2nd edition
subject: JDBC with applets
Similar Threads
how to Transfer a file/jar to another Computer
How do I transfer a text file from server to client?
How to passed a login page with java code
Dynamic Stub Loading with file URL's
How to passed a login page with java code