we are using Spring+Hibernate+Oracle to develop our application and performance seems to slow down a whole lot.
we use JBoss as our application server.
we havent implemented any second level cache.
we observed that the hibernate data doesnt get flushed with each transaction. we saw 54MB of data on our server and goes up to 200MB once the user logs in.
we use HibernateTransactionManager for transactions.
<!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
<!-- Hibernate Transaction Manager -->
<bean id="myTransactionManager" class="org.springframework.orm.hibernate.Hibernate TransactionManager">
<property name="sessionFactory">
<ref local="mySessionFactory"/>
</property>
<!--<property name="entityInterceptor">
<ref local="lobCleanUpInterceptor"/>
</property>-->
</bean>
<!-- Transaction Proxy Template -->
<bean id="txProxyTemplate" lazy-init="true"
class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean">
<property name="transactionManager">
<ref local="myTransactionManager"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
Any help as to how to tune to improve the performance is appreciated.
Thanks


Reply With Quote