J2EE and memory data

Discussions

General J2EE: J2EE and memory data

  1. J2EE and memory data (1 messages)

    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.
  2. J2EE and memory data[ Go to top ]

    Of course is an option to have the lock data in the database but hvae you thought of using JMS as a queing mechanism? This will possibling solve you problem without any lock