Speeding up Spring start up
If you are using the Spring framework, here's a good tip on how to speed up the start up. Don’t use classpath*:*.xml wildcards. When you use these wildcards, Spring needs to search through all of the jar files. Even worse, in some cases it has to expand the files and then things really come to a crawl. If you must use wildcards in Spring, try using a classpath:/foo/bar/*.xml search. This is faster as that can delegated to the JDK. Of course, your best speed would be had by not using wildcards of any sort.
| Rating: | no ratings, 0 total Votes |
| Categories: | spring Java programming |
| Added: | on Oct 25, 2007 at 2:10 pm |
| Added By: | an anonymous user |

