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

clustering & dao  RSS feed

 
tom walters
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are there any issues if you use a dao and then later on decide to use clustering? by dao i mean an object that obtains a db connection from a pool, contains sql, and exposes high level methods such as findOverdueAccounts. i think it should be fine, but i remember someone bringing up an issue with this but i cannot recall what that issue was.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. So long as you don't try to cache anything clustering is not a problem.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!