File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 28, 2003
Sep 05, 2003 23:28:00
how can we acheive synchronization for service method in the
if we r using
, performance will be low than any other method to achieve that?
OCAJP Mock Questions
400+ OCPJP Mock Questions
Joined: Sep 02, 2003
Sep 06, 2003 00:37:00
Instead of making the entire service method synchronized, enclose only the code that needs to be synchronized in a synchronized block.
I agree. Here's the link:
advantage of synchronization
Why we should prefer synchronization?
Is there any alternative for synchronization?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014