IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Defining data objects > Considerations when creating or using business objects
Concurrent access for business objects
IBM Process Server and WebSphere Enterprise Service Bus do 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.
Alternately, you can use the BOTypeMetadata service represented by commonj.sdo.Type for concurrent read access of business object data.