wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes A question concerning package organization. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "A question concerning package organization." Watch "A question concerning package organization." New topic
Author

A question concerning package organization.

Geoff Goodwin
Greenhorn

Joined: Jan 17, 2002
Posts: 3
Hello all,
I have just started working on my developer certification. The first issue I have come up against is what makes sense in terms of organising the package structure?
As I understand it Sun would like an appropriate directory structure which would allow them to see very easily: (a) new classes developed by myself (b) modified versions of supplied classes (c) original (non-modified) copies of supplied classes and (d) location of database file.
I was thinking of organising my package directory structures something like this:
suncertify/db (Original source and class files).
suncertify/dbmodified (Modified source and class files)
suncertify/client (All client related classes)
suncertify/server (All server related classes)
suncertify/database (db.db database file goes here)
etc.
(This would all be documented in the README.txt file).
I am sure there is no "right" or "wrong" way but I guess I would like this to be set up so that it is logical and easy for the examiner to figure out.
If anybody has any thoughts on this I would really appreciate your input
herve attia
Ranch Hand

Joined: Sep 28, 2001
Posts: 138
Don't make confuse the examiner when he/she will look at your source code. The following is enough
suncertify/db
suncertify/client
suncertify/server

IMHO, suncertify/db will contain modified (ie,Data ) and no modified files (i,e FieldInfo.java, FieldInfo.java,DatabaseException)

Regards,
Geoff Goodwin
Greenhorn

Joined: Jan 17, 2002
Posts: 3
Thanks for your reply Herve,
I guess I am still not clear on where the original (unmodified) code would go.
As it happens I have changed Data.java. Where would they expect to see the original Data.java?
herve attia
Ranch Hand

Joined: Sep 28, 2001
Posts: 138
I don't remember Assignment asked to provide original source code ?!
Don't worry about that. Modify or extend the source code (its depends on your design) but providing the original source code is not required.
Explain what you did in your desing document and describe the structure within the README.txt.
Make simple
Geoff Goodwin
Greenhorn

Joined: Jan 17, 2002
Posts: 3
Thanks very much. I think that clears it up for me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A question concerning package organization.
 
Similar Threads
The ultimate packaging question
the README.txt file
README.TXT : file listing
Final packaging structure
Thoughts wanted READMDE.txt