Re: how to intercept JSF managed bean method

Splash Forums Rewrite Users how to intercept JSF managed bean method Re: how to intercept JSF managed bean method

#21715

In a typical application setup you will probably use either CDI or Spring and no JSF managed beans at all. Is there any reason you are using JSF managed beans for the view and Spring for the Dao/Services? Why not use Spring for everything? See:

http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/web-integration.html#jsf

Than you could measure the execution time for methods executed more or less easily using Spring AOP.