We are porting a client server application on J2EE technology. The old app was holding locks on different object in memory, so each client could very get an answer from the server if a certain object was locked or not, very fast.
Of course, this memory area was unique to the server, and protected to accesses from different threads.
We now want to simulate this behavior with the new J2EE app. Is is possible to have a UNIQUE memory area in which to store the lock info, or do I have to store this information into the database.
Any help would be greatly appreciately.