• 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
Posts: 12056
232
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
 
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!