• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to place database interface

 
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
 
What are you doing? You are supposed to be reading this 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!