-
Jun 7th, 2012, 06:05 AM
#1
Performance issue in Spring 2.5.6
Hi,
We had a requirement to implement Spring Batch in our project . As Spring batch supported with Spring 2.5.6 , we upgraded the existing spring version from 2.0.6 to spring 2.5.6.
After upgrading this we onserved that the proformance of the java programe is decreased. such as for loop is taking more time than 2.0 version.
we used the following configuration:
1. Jdk 1.4
2. Spring 2.5.6
3. Spring batch-core 2.1.8
4. Spring batch infustructure 2.1.8
5. WAS server 6.1
6.hibernate 3.2.6 GA
Please reply asap.
-
Jun 7th, 2012, 07:11 AM
#2
And why should that be a spring problem? Without code, configuration that is hard to tell.
-
Jun 8th, 2012, 02:58 AM
#3
We tried to replace to old 2.0.6 spring jar that time performace was good...And thatswhy we have doubt
-
Jun 8th, 2012, 03:04 AM
#4
As mentioned before 'Without code, configuration that is hard to tell.'... If you do weird things in your code the problem is in your code not spring, what performance is slow(er) startup, application, runtime, tests?! What are we talking about here.
If you are mentioning for loops to me it seems like you are doing weird things in that for loop looking up beans or operating directly on the BeanFactory/ApplicationContext which you shouldn't do. Hence the question...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules