Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

executable jar

 
Charles Jean-Baptiste
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know if you will fail automatically if your assignment is an executable jar?
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic