Something kinda like AOP
Monday, August 28th, 2006What is great about JSF is the uniform and highly extendible lifecycle. Using the decorator pattern you can override a specific method or not. I can inject my own code before it or after and let it run as usuall. for application wide changes you can simply add a filter chain. e.g. (http://blogs.sun.com/alexismp/entry/authorization_servlet_filter_for_jsf)Authentication/Security/logging/debugging/tracing …
I have already messed with the variable resolver and navigation handler to allow for xml configurlessness instances now I have fooled around with the actionlistener to add action chaining and the possibility for something kinda like AOP.