-
Jan 28th, 2009, 12:45 PM
#1
Improving Spring load time
Hi all,
My application has a lot (about 100) of files with spring configurations that are included in the applicationContext.xml. With all these configurations, it is necessary about 10 seconds to load all the configurations.
Is it possible to save a kind of "binary" version of the application context and then load it instead of parsing all the xml files? The load time should be minor, correct?
Thank you for your help.
Best regards,
Helder Sousa
-
Jan 28th, 2009, 04:09 PM
#2
Why is the loadtime so important? As long as it performs fast at runtime after loading it should be fine.
also about a 100 files is way to much imho. Each file is validated and parsed which generates massive overhead. One quick solution, cut down the amount of files.
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