This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Policy files and examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Policy files and examples" Watch "Policy files and examples" New topic

Policy files and examples

Con Lu
Ranch Hand

Joined: Aug 27, 2002
Posts: 38
When running an RMI example
1) Do you have to specify a security policy file for
BOTH the client and server machines
2) If so, do you run the server and client by commands such as the following?
java\DirOnServer\wideopen.policy myRMIServer
java\DirOnClient\wideopen.policy myRMIClient
3) Do the commands above have to refer to policy files on their own machines or if they don't how do you refer to a policy file on another machine?
I am getting very confused, and any help would be much appreciated!
By the way, I am having problems getting examples on the Internet (such as Sun's)to work. Many examples seem to brush over compilation and setup (or where to put certain files etc)- especially those examples concerning web-servers, dynamic class loading, and security files. Does anybody have links to good step-by-step examples / resources?
I agree. Here's the link:
subject: Policy files and examples
It's not a secret anymore!