2010/9/18 Lars Helge Øverland <larshe...@gmail.com>

>
> Can't really believe it but it seems Spring auto-wiring was the problem.
> Disabled it and went back to normal XML based wiring and Live now starts in
> 26 seconds at my Ubuntu laptop.
>

It seems the bean factory doesn't cache anything by type [1], so I guess by
type-autowiring might be expensive on our (apparently) large context. It's
been a long time since I looked at the details of spring contexts, but I
suspect there are no easy solutions to this.

I guess xml is fine (and name-based auto wiring should also be quick?).


> Have committed the change to 2.0.5 branch, will merge into trunk when I
> have time.
>

I think India testing is done in trunk, so please merge it in there :)

Jo

[1] https://jira.springframework.org/browse/SPR-6870
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to