• 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

executable jar

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anybody know if you will fail automatically if your assignment is an executable jar?
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Does anybody know if you will fail automatically if your assignment is an executable jar?


I am not sure what exactly you mean here. Many of us chose to submit a jar that contained two other jars, -- server.jar and client.jar that can be started as follows:
java -jar client.jar
java -jar server.jar
That's a perfectly acceptable solution. Now, if you mean that you would ask the assessor to just double-click the submission jar or one of the jars inside it, that's another matter, and I would say is a risky one.
Eugene.
 
Charles Jean-Baptiste
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you for your reply! you answered my question. now for my own curiousity, why two jars?
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


now for my own curiousity, why two jars?


Because the server can run on one machine, and the client may run on the other one. You can package everything in one jar, of course, but why deploy client classes to the server and server classes to the client?
Eugene.
[ March 02, 2003: Message edited by: Eugene Kononov ]
 
Dinner will be steamed monkey heads with a side of tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic