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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "JDBC with applets" Watch "JDBC with applets" New topic
Author

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 ?
Thanx
Rakesh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16022
    
  20

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC with applets