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

Database Connector class

 
Jared Chapman
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really quick question.

I have a class that is used to establish a database connection. It has 2 static methods: one to establish a local connection, and one to establish a remote connection. My question is, which package should I place this class in?

1. suncertify.db
2. suncertify.gui
3. suncertify.remote

Thanks in advance.
 
James Clinton
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have all my db connection stuff in suncertify.db.dao. But this is because I have used the DAO pattern.

Its probably best given your package setup to stick it in suncertify.db

[ October 22, 2004: Message edited by: James Clinton ]
[ October 22, 2004: Message edited by: James Clinton ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic