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

RemoteData & LocalData

 
Bigwood Liu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think the better place to implement lock/unlock is in the Data wraper class RemoteData.
I wonder where should I put the RemoteData class?
the db package-the same as Data or dbserver package? I prefer putting the RemoteData in the db package. Right?
Regards,
Damu
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Damu
I dont think we have enough information on what RemoteData does to make that sort of judgement.
If all it does is handle lockiing (that is a LockManager), then it probably belongs in the db package.
If it does more concerned with networking an multiple thread handling, then maybe it should be in the server package.
Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic