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 initially understood this to mean that runme.jar will be used to extract other jars, ie client & server, but having re-read the mode flag section a few times again this seems to be way off, another quote :
When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
......... The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and gui must run.
now what I understand or think I understand is that all modes are executed with java -jar runme.jar and then specifying whatever mode is relevant, and this would mean the client ends up having all files, even if they're not all needed, so where no mode is specified only gui package and common Data related interfaces/adapters and remote stub would be needed but instead he has everything. have I misunderstood ?
The runme.jar contains everyting relevant to runtime excution of both clients and the server. That is my interpretation. I think the idea is good because it makes the implementation of an RMI solution so much easier. [ April 17, 2003: Message edited by: Barry Gaunt ]