0 Replies Latest reply on Sep 17, 2002 1:38 AM by Blair Jennings

    Asynchronous processing and object concurrency

    Blair Jennings Newbie

      Ok, I have a SFSB which sends out 5 to currently 25 messages to a queue. The queue is monitored by a MB which reads the single message and starts processing the data. Well unfortunately all of the messages need to access the same base data causing the system to throw Concurrency exceptions at indeterminate points. I was wondering if it is possible to use some of the classes in the conncurrent.jar and have them work across internal threads; which yes I know that synchornization is against the J2EE spec but I have yet to find an object locking service in any app server:( If anyone has any suggestions as to how to eliminate or schedule the threads I would appreciate it.

      Thanks
      blairj