Werner Punz schrieb:
mitroiasi schrieb:

Hi,

I have a question concerning the managed-bean configuration. I want to bind to a bean another bean. The second bean should be created first time when my
application meets a reference in my jsf pages to the second bean.
Is this possible or the second bean is created when the first bean is
created?


It is wired at the time the bean is created...

But you can resolve that manually by using the el/variable resolver on code
level instead of wiring it over the faces-config.

Sorry I forgot, you also can use Spring which has mechanisms to add the lazy instantiation behavior you describe via proxies.

Werner

Reply via email to