Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A few points before packaging final submission

 
Abhinav Anand
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
A few points before I start packaging the final submission.
1. ----------------------
Our final submission should be in the form of a jar file. Now I want to nest two jar files named client.jar and server.jar in the main scjd.jar file. I have assumed that the examiner will have to unjar the scjd.jar file in the installation director. After which he can run my application. Please note that the scjd.jar is the main and final jar file that I am going to submit.
Anybody who have attempted the examination, please advise whether I have made a correct assumption.
I don't think that we have to package our application such that the examiners are able to run our program from the main submission without even unjarring the main jar file.
2. ------------------------
According to the Java Coding Conventions, we should include a copyright information in the begining of our every source file. This comment should be enclosed in a c style block comment.
But I have decided not to use this coding convention. The main reason is that this project is being made for a fictocious company named Fly by Night Inc, so I cannon include a bogus copyright information for that compnay, that would serve no purpose.
However I feel like including my own copyright notice which I include in other commercial source codes I generate. But is that applicable here when I know that this thing is not supposed to be commercial, simply why to include a bogus copyright notice.
Any suggetions are welcome.
Thanks to all.
Vishal.
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are allowed to nest as many jar files in the one jar file you submit. The name of the jar file you submit is governed by sun and must be in the format scjda-xxxxxxxx.jar where the x's represent your candidate id.
I didn't have a copyright notice in my javadocs and scored maximum in documentation.
Good luck
 
Abhinav Anand
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nigel,
Thanks for the reply.
One more point is that the instructions say "You have to provide source files along with the class files of supplied, modified, and new classes. This should be in appropriate directory structure."
I have decided to package it in the follwoing way:
scjd
|
|--datafiles
|--src
| |--starting
| | |--suncertify ... db
| |--final
| | |--suncertify.... new classes
Please comment.
Thanks Again,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic