332 DB2 UDB V8 and WebSphere V5 Performance Tuning and Operations Guide
8.3 Enterprise JavaBeans
In this section, we discuss EJB performance considerations as they apply to
accessing a DB2 database.
8.3.1 EJB performance considerations
From a database perspective, the following considerations apply.
EJB 2.0 module
In general, read-only methods and optimistic locking will provide better
performance. However, be careful with the use of optimistic locking since
problems may only become apparent under heavy load and hence may not be
found in development.
A common mistake is just using the default setting. This might cause
performance issues.
EJB 1.1 module
– Ensure that the
Isolation level attributes setting selection is based on the
minimal semantic ...