We have a web application deployed in a WebSphere AppServer cluster. We are doing some atomic operations in synchronized blocks. Apparently this will not work since every server instance is a different JVM and they don't share locks. How do we handle this situation? Please let me know your suggestions. Thanks, Sandhya
posted 8 years ago
Can you use a database flag and get the operation to check for the presence or status of this flag before processing. Remember to do a select for update when you change the state of the flag.