Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Package Q  RSS feed

 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm having all classes in same package suncertify.db . Is this a bad idea ?
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The three packages you've specified sound fine. The classes you mention at the end seem like they belong in the db package.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!