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

Locking - Confused... @.@

 
RIO YOU
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Locking-UnLocking methods are just confusing for me.

I'm just thinking....


================================================= my scenario is,
If The REMOTE CLIENT reads the DB-File by RMI, it would be based on
READ-ONLY Threads.

OK.. It's Fine.

imagine that If the CLIENT's trying to book-update-delete one record.

At this time, Should the CLIENT re-open the DB-File as READ-WRITE mode?


Any comments helpful for me.
 
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 Rio,

This sounds like you plan to have one file connection per connected client. Is that right?

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic