• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

is it necessary

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic