• Post Reply Bookmark Topic Watch Topic
  • New Topic

About Package

 
James Lee
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some questions about grouping classes in package.
As mentioned in the requirement, we have to put classes related to database to package suncertify.db. If I have a class(act as the Data Client mentioned in the requirement) for communicating with server side, do I also need to put it in this package?
I also defined a class, where object of this class is used by both the client and server side. If I put this class in suncertify.server, then the client class need to import suncertify.server package. This seems a little bit odd. What's the usual practice for this situation?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!