Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic