Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to place database interface  RSS feed

Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The guideline says that anything which is connected to the database should be placed in the suncertify.db package.
I have created a no. of interfaces, one one like Database which declares all the public methods of the data class. Other is an interface called RemoteDatabase which extends the Database interface and Remote interface.
Now my doubt is whether i should place these interfaces in the suncertify.db package or i can place them somewhere else.
Gaurav Kalra
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!