This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes is it necessary Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "is it necessary" Watch "is it necessary" New topic
Author

is it necessary

Sam Jason
Greenhorn

Joined: Apr 09, 2002
Posts: 6
hi guys,
I am going to submit my assignment. and I want to know whether I must make a client.jar file and a server.jar file for the examer to excute my program. and whether the jar must excutable and it could run like this:
$java -jar server.jar
if so , how should i appoints the -Djava.rmi.server.codebase and -Djava.security.policy properties for server and client?
I am writing a README file and require the examer to extract the client.jar(contains all classes for client) and the server.jar(all classes for server) and then input the command in command line, does this way work?
help pls.
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
It is easier to maintain an executable jar, because there is only one file that needs to be replaced when upgrading. They are also easy to create using a manifest file. I believe you gain point in general considerations by using them. Both codebase and policy are allowed command line parameters.
 
 
subject: is it necessary