Concurrent access for business objects
IBM® Workflow
Server does
not support concurrent access of business object instances for read
or write operations. Processing the same business object instance
in multiple threads for read and write operations can lead to data
corruption.
When you build your application, be careful to avoid situations
that can result in concurrent access, for example:
- POJO: When you create POJO components, do not create static or singleton references to a business object instance, as this practice can potentially lead to sharing the same reference in multiple threads.
- Asynchronous Beans: When using asynchronous beans programming, do not pass the same instance of a business object to multiple asynchronous bean instances. This would lead to business object instance data being processed in different threads at the same time.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15