5 Replies Latest reply on Jun 25, 2002 1:22 PM by Iulian Radulescu

    User Managed Transaction

    Iulian Radulescu Newbie

      Hi,
      This is my problem: I have a client application with several instances, on different machines, and only one JBoss server to which is connected. The mechanism is simple : the client requests some data, it alters them client side and sent the modification to the application server for DB update. What if two clients make modifications on the same set of data? How I control this, to avoid any problems with the data from DB? The idea would be to put the client in the same transaction with the application server (getting the UserTransaction interface from JNDI), but I don't to block the access to data too long. So, I ask if there is some mechanism to signal a client that the data is altering, were also modified by somebody else, in the same time.
      Hope I make my self clear.
      Thanks.