←
^
→
Designing RMI Applications
Minimize Time in Synchronized Blocks.
Synchronize around the smallest possible block of code.
Don't synchronize across device accesses. If many clients use this method, they will all stop when the device slows down. This also creates a queue.
One solution is to use a background thread which does a "pull" of the information, instead of the "push".
José M. Vidal
.
36 of 49