Lazy-init is ON by default, meaning that the dafault behavior of the beanFactory is not only create instances of your beens when you ask for them. If you want to have certain beans created when the bean factory starts up, you would want to set those beans 'lazy-init' attribute to false

On Jan 6, 2006, at 10:08 AM, Brian Kotek wrote:

I didn't see this in the docs so just thought I'd ask. Is there a way to globally turn on and off lazy-init for all of the beans in your service.xml file? To speed up development time, for example, if you're working on a large app but only need a few of the services to load? I know I could maintain a separate development service.xml file but I'd prefer to not maintain two versions if possible. Thanks!


Reply via email to