aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Package Q Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Package Q" Watch "Package Q" New topic
Author

Package Q

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hi,
I'm having all classes in same package suncertify.db . Is this a bad idea ?
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Yes
Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Vladan,
Thanks for your response. I don't have real-time experience in packaging. Is this okay now.
suncertify.db
Data.class
DataInfo.class
FieldInfo.class
Lock.class ( helper class to lock & unlock)
suncertify.client
Client.class (GUI)
MultiLineHeaderRenderer.class
TableModel.class
FlightTableModel.class
suncertify.server
DataServer.class
I'm wondering in which package I should put
db.db
DataInterface.class ( Interface for data class )
DatabaseException.class
Doug Melzer
Ranch Hand

Joined: Mar 23, 2000
Posts: 51
The three packages you've specified sound fine. The classes you mention at the end seem like they belong in the db package.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Package Q