This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Several Questions about submissions

 
Thomas Paul Bigbee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The assigment states

When you submit your assignment, each part (client and server) must be executable using a command of this exact form:

java -jar <path_and_filename> [<mode>]

All elements of your submission must be packaged in a single JAR file. The JAR file must have the following layout and contents in its root:
The executable JAR containing the programs. This must be called runme.jar.

I'm a little confused, an executable jar contains a mainfest which states which class is the entry into the jar, yet, there are two executables inside the jar "Server" and "Client (alone and Network)", my design requires the Server GUI to be started before the application will run in Network mode, my question is this being that the command

java -jar <path_and_filename> [<mode>] is required is it acceptable to do this?

java -jar -cp suncertify.application.Server runme.jar (for the server) and
java -jar -cp suncertify.application.Connection [mode] runme.jar

Also, it seem that there is a jar in a jar, is the grader expecting to unzip the main jar file, to get the the "runme.jar", the db and the docs?

Any feedback would be appreciated
Thanks, Tom
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thomas
is it acceptable to do this?

java -jar -cp suncertify.application.Server runme.jar (for the server) and
java -jar -cp suncertify.application.Connection [mode] runme.jar
No. The assessor must be able to run the server by typing:And they must be able to run the networked client by typing:And they must be able to run the standalone client by typing:If you do not support these three options you will fail. If you do support these three options, there is no need for alternatives .
Also, it seem that there is a jar in a jar, is the grader expecting to unzip the main jar file, to get the the "runme.jar", the db and the docs?
Yes.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic