Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question concerning package organization.

 
Geoff Goodwin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much. I think that clears it up for me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic