It seems that JBoss tries to synchronize quite heavily with the database server when using simple accessor methods (getXXX) in CMP beans. For every method called, it looks like there is an SQL call being made. Is there any way to tune this for better performance? Thanks in advance. - Partha
You can switch to commit option A which assumes that the EJB server is the sole user of the database, and can therefore cache all data. Or you can increase the size of your transactions. Transaction limit the time overwhich a read is considered valid. Be careful here because if you make the tx too large you get contention problems.