i found posts dealing topic, our situation bit different, post here, hoping can it. situation is: develop rich client started via webstart (loaded server). in client use spring (3.0.5) dependency injection, nothing else far. since had big trouble slow component scans because of aop in spring, not use spring jars following:
spring-asm-3.0.5.release.jar spring-beans-3.0.5.release.jar spring-context-3.0.5.release.jar spring-context-support-3.0.5.release.jar spring-core-3.0.5.release.jar spring-expression-3.0.5.release.jar the effect have strange: if start rich client via webstart quite fast (component scan in few seconds). (for reason) try start our client regular application having jars on computer , starting app huge classpath. in scenario takes 3-5 minutes (depending on computer) boot app. in log can see spring component scan takes long. of course used jar files 100% identical in both solutions. fundamental question is: difference here? have expected way round. long time in webstart , fast application. have hint cause long startup times in application scenario?
Comments
Post a Comment