Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC with applets

 
Rakesh Gadre
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18218
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic