• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Name of application / main package

 
Pander Musubi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Do all of you keep the suncertify(.db.*) name for the main package and application or do you change it to the name of the application. E.g. BookFlight and package name bookflight(.db.*)
Thanks,
P.
 
Bharat Ruparel
Ranch Hand
Posts: 493
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Pander,
I chose to name my packages as follows:
suncertify.db - Contains all data manipulation classes which work with the given data file. Also contains the required DBMain interface and the implementing Data class.
suncertify.remote - All RMI communication classes.
suncertify.gui - All gui classes
suncertify.startup - Only one class, to startup the application.
It becomes easy to move your application around if everything branches off suncertify directory. I recommend that you do not nest off the suncertify.db directory for other major categories such as "communication", "gui" etc.
Hope this helps.
Regards.
Bharat
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pander,
Like Bharat, I kept "suncertify" as my base for my packages, and had several packages below them (very similar to Bharat's).
Regards, Andrew
 
Wilder C Rodrigues
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pander,
I used that:
suncertidy.gui
suncertidy.net
suncertidy.db
suncertidy.util
The suncertidy.util package has some classes with general functions. A good example is PropertiesManager. That class extends Properties class and I declare methods to load from and save to my suncertify.properties file.
Best,
Wilder C. Rodrigues
SCPJ
SCWCD
JUGLeader
The new Marillion album is coming - Marbles
www.marillion.com
 
Paul F. Williams
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am going to keep the suncertify.db package name as required by the assignment instructions, but I plan to stuff the other classes into different packages named like I would expect in a real project:
urlybird.server
urlybird.client
(etc.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic