Yes, I need try that, eventually, but probably the biggest source of my startup slowness is that I'm using annotations to specify classes that are spring beans and that uses spring's component scanning, which means spring is scanning every jar in my lib directory. So currently my spring xml files are pretty much bare of any bean definitions.
Eduardo Ramírez wrote: > > On Sat, Dec 12, 2009 at 20:06, Rusty Wright <[email protected] > <mailto:[email protected]>> wrote: > > I'm using Spring and I've heard that it makes apps slow to start > with all of its instantiating and wiring things together. > > > Have you tried to lazy load your beans? In my local tests I have a > very fast startup. > > http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch03s04.html#beans-factory-lazy-init > http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch02s05.html#new-java-configuration > > > Hope it helps, > -- > Eduardo Ramírez > http://kynes.frenopatico.net > > -- > > You received this message because you are subscribed to the Google > Groups "Google App Engine for Java" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
