This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX:What is the name of uploaded jar file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "NX:What is the name of uploaded jar file?" Watch "NX:What is the name of uploaded jar file?" New topic
Author

NX:What is the name of uploaded jar file?

Bigwood Liu
Ranch Hand

Joined: Feb 26, 2003
Posts: 240
I am going to upload my assignment, what is the upload jar file name?
Best,
Damu
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Damu,
Andrew explained that here.
Regards,
Phil.
Bigwood Liu
Ranch Hand

Joined: Feb 26, 2003
Posts: 240
Hi phil., thank you, but my instruction doesn't say that.
Deliverables
Target Platform and Execution
Throughout this exercise, you must use exclusively the Java 2 platform. You may develop your code using any implementation of the Java 2 platform, but the submission that you return must have been tested and shown to work under a production (not development) version of the Sun Microsystems' Java 2 platform and that platform must not have been superseded by a new production version for more than 18 months by the time you make your submission.
You are permitted to use any IDE tool you choose, but you must not submit any code that is not your own work. The final program must have no dependencies on any libraries other than those of the Java 2 Platform.
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>]
Your programs must not require use of command line arguments other than the single mode flag, which must be supported. Your programs must not require use of command line property specifications. All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.
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.
You must not require manual editing of any files by the examiners.
Packaging of Submissions
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.
The original, unchanged database file that was supplied to you. Note that you must keep a copy of the original database file supplied to you, and this must be the file you submit. The marking process will expect the exact same data without any changes.
A directory called code, containing all the source code and related parts of your project. You must create subdirectories within this to reflect your package structure and distribute your source files within those directories.
A file called version.txt. This must contain pure ASCII (not a word processor format) indicating the exact version of JDK you used, and the host platform you worked on.
A directory called docs, containing the following items at the top level:
This html file.
A subdirectory called javadoc, containing HTML/Javadoc documentation for all classes and interfaces you are submitting.
A file called choices.txt that containing pure ASCII (not a word processor format) text describing the significant design choices you made. Detail the problems you perceived, the issues surrounding them, your value judgments, and the decisions that you made. This document should also describe any uncertainties you had regarding the project, and the decisions you made when resolving them.
User documentation for the database server and the gui client. If your user documentation is online then you may omit this file. However, if the documentation is not online, you must provide either a single plain ASCII (not word processor format) text document, which must be called userguide.txt, or multiple HTML files which must all be accessible from a starting point document that must be called userguide.html.

As I understand, my upload jar can be: upload.jar
it has the following content:
upload.jar
|---runme.jar
|---database file
|---code directory
|---version.txt
|---docs
-----|--- instruction html
-----|--- javadoc directory
-----|--- choices.txt
-----|--- userguide.txt
Am I right?
Best,
Damu
[ December 21, 2003: Message edited by: damu liu ]
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11465
    
  94

Hi Damu,
Go with that for the moment.
When you go to the website to upload the submission, at the time that you click the "upload" button you will see instructions similar to what I posted in the other thread. Then you can go and change the name of "upload.jar" to whatever you are required to name it as.
(You can go to the website now and go through those steps if you like - just cancel before the final upload).
Seems a bit strange them not telling you the name of your submission jar file until the moment when you try to give it to them, but what can you do? :roll:
Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Bigwood Liu
Ranch Hand

Joined: Feb 26, 2003
Posts: 240
Thank you Andrew.
 
Don't get me started about those stupid light bulbs.
 
subject: NX:What is the name of uploaded jar file?