Hi,

 

Is there are way to get hold of JSF bean factory and instantiate managed beans outside of JSF?

 

My reason for asking is that I have spring IOC for business tier, JSF IOC for web tier, + jsf-spring integration. My web tier also contains helper classes for servlets that I need to inject dependencies from the business tier. I like to keep spring’s applicationContext exclusive to the business & persistent tier, so my next best bet is to place them under JSF managed beans.

 

Or is there a better approach?

 

Many thanks in advance.

Yee

Reply via email to