• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

A question concerning package organization.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks very much. I think that clears it up for me.
 
It's a tiny ad only because the water is so cold.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic