Hi Andrew, Fred
Please allow me to use this
thread as my question is related to what is under discussion here.
>> What is the downside to performing locks in standalone mode?
The only downside is a small loss in performance. But as high performance is not a requirement for this project, I think we don't need to worry about this little drawback.
Even so, I'm still wary. I'm not a English native speaker, so my understanding of the following sentence may be biased by this fact.
"..your locking system
only needs to be concerned with multiple concurrent clients of your server"
If the specification states that we need to provide a locking system which
only needs to be concerned with multiple concurrent clients and we provide a locking system which locks records even when there is just one client (standalone mode), aren't we breaking this rule of just providing a locking system for multiple clients?
Another question. If we choose not to call lock/unlock on the standalone mode, what should we provide as lockCookie for the methods which requires such parameter like update?
Once more thank you very much for you great help.
Best Regards
Cleverson Schmidt
[ March 21, 2005: Message edited by: Cleverson Schmidt ]