-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Java Application with Spring and Hibernate
PostPosted: Wed Dec 03, 2008 5:36 am 
Newbie

Joined: Wed Dec 03, 2008 5:24 am
Posts: 2
Hi

I get an issue about Spring&Hibernate mapping performance problem.
There have many Java independing job started by Scheduler.
The problem is whenever a job start, the program need to load the Spring bean mapping and hibernate mapping everytime, it is waste time and CPU resources.

Is there have any soluation which fix this issue? thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2008 1:24 am 
Newbie

Joined: Thu Dec 04, 2008 1:05 am
Posts: 2
Hi,

Try loading the Spring beans configuration (together with SessionFactory) in some start-up class file once in your application.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2008 2:32 am 
Newbie

Joined: Wed Dec 03, 2008 5:24 am
Posts: 2
sharmaavd wrote:
Hi,

Try loading the Spring beans configuration (together with SessionFactory) in some start-up class file once in your application.


Thanks for your reply
Actually, Every java jobs have it's own JVM. When a job started, it will load Spring beans configuration once. I don't think it's work... but thanks anyways.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.