• 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

runme.jar file confusion

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen many posts with statements that the submission jar file will contain other jar files. According to the B&S specification, only one jar file is required "runme.jar". Is there a requirement I overlooked or is there some reason for multiple jar files that I'm not understanding? Can someone please clarify?

Thank you.
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shannon, I had the URLyBird assignment which may be slightly different.

The instructions to upload your assignment will tell you to package all of the elements into a single jar file (whose name is defined in the instructions; it's based on your Prometric/Sun ID).

So I had 2 jar files: the runme.jar containing the code; and the jar file containing all elements of the submission.
 
Shannon Sims
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Cindy,
Thanks for your response. When you say instructions, are you referring to the "Application Submission"? Under Packaging of Submissions, it states the following:

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.

Based on the above, it doesn't state the need for nested jar files. However, I've seen many other posts stating the use of other jar files, a client and server...which has lead me to wonder if I've missed something. This project has been a beating and I'm ready to finish this project, so I'm trying to ensure I didn't overlook a requirement.

Thanks for your feedback.
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Shannon

if you read carefully, it does.

It says:
'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'
(I.E. Top level directory of your submission jar file)
1) The executable jar file. (I.E. runme.jar must be inside the submission jar file.
etc etc

hope this helps
Jeremy
 
Cindy Rogers
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shannon, the "instructions" I referenced are the ones you will see during the Upload process. At that time you are given the format for the jar file name (for example, for mine it was "scjda-spxxxxxxx.jar", where "spxxxxxxx" is my Prometric/Sun ID).
 
Shannon Sims
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for the reply. So, there is only one jar file "runme.jar" and no executable jars inside the runme.jar file? The runme.jar should run using the three modes "blank", "server" and "alone".

Cindy,
Based on your feedback, the runme.jar will be included in the submission jar file (name given by Prometrics). I accidently lost my e-mail that came with the instructions how to submit my assignment. Do you know how I can get this information?

Thanks for your replies.
 
Cindy Rogers
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shannon,


>> Thanks for the reply. So, there is only one jar file "runme.jar" and no
>> executable jars inside the runme.jar file? The runme.jar should run
>> using the three modes "blank", "server" and "alone".

For my assignment, that is correct: the executable code was in the runme.jar, and all of the stuff submitted (including the runme.jar) was packaged in the username-specific jar file.

I think earlier versions of the SCJD required different executable jar files for the client side and server side - but not this one.

Again, for my assignment, the modes were "server", "alone", and not specified (indicating network client) - but follow whatever your assignment states....

>> Cindy,
>> Based on your feedback, the runme.jar will be included in the submission
>> jar file (name given by Prometrics). I accidently lost my e-mail that
>> came with the instructions how to submit my assignment. Do you know how
>> I can get this information?

The instructions I referred to are given to you during the Upload process - that is, after you press the Upload button on the Sun/Prometric website. So you haven't been given them yet...

Regarding the e-mail that you lost, I don't have my copy anymore. You could try contacting who2contact@sun.com . The one non-obvious step is requesting permission (I believe from Prometric rather than Sun) before you can upload the assignment, and it usually takes 1-3 days for the permission to be granted. Other posts have discussed that step, so you should be able to track down the e-mail address where you request authorization from.

Cindy
 
Shannon Sims
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, thank you Cindy for your feedback. You have been a great help!
 
Pay attention! Tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic