[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Perfomance issues with CMP entity beans with JBOSS server
do-not-reply at jboss.com
Tue Feb 6 09:58:53 EST 2007
We are using CMP entity beans in our application deployed on Jboss3.2.7 server with commit Option ?A? for container
Configuration in StandardJboss.xml on jboss conf folder.
Whenever any getter method is called on entity bean, ejbStore () method is called.
This causes performance drain in our application. Could any one please tell me why calling a getter method of entity Bean
calls ejbstore () many times instead of ejbLoad ()?
In our Project two applications are accessing the same database; due to this we changed the commit option in StandardJboss.xml
To ?B?. In this scenario, the performance got still worse, since for each getter method invoked on bean, ejbLoad() and ejbStore() are called .
Could anybody help me to figure out the solution to above problem? Is any other properties do I need to set to reduce the
calls to ejbLoad() and ejbStore() many times?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011942#4011942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011942
More information about the jboss-user