consider a JSF web application with a managed bean FooBean.java. I've declared this "FooBean" in my faces-config.xml file. Now, if I want to add the Spring AOP advice for the methods of FooBean, how do I do that?
- Should I add an applicationContext.xml file and declare the managed beans inside it?
- or will it work even if I am not declaring the managed beans inside a Spring configuration file?
Note: I've created an Aspect bean and defined a point-cut like @Pointcut("within(dummy.web.reporting..*)") inside the aspect bean.