hiho,
Im evaluating the possibility to use JSF in combination with the Portlet MVC from Spring in a Websphere 6.0 (Java 1.4) environment.
Did someone already make some experiences with SUN JSF implementation in combination with the Portlet MVC?
-What are best practices in the combination of this two technologies ?
-What should I definately avoid ?
-Are they better frameworks that work with one or the other technologies mentioned?
Any comments on this would be greatly appreaciated
Not sure you would really want to use Spring MVC together with JSF since there is a lot of overlap in the frameworks. The only common use case for this I know of is to get the power of the Interceptors to help with the absence of Filters in the JSR 168 spec. To do this you would likely need to build a HandlerAdapter for JSF that would plug into Spring MVC.
Some other notes on using JSF in Portlets:
Take a good look at the JSF Portlet Bridge project () -- it's the reference implementation for JSR 301 (The Portlet Bridge Specification for JavaServer Faces) which defines the semantics of a JSR 168/JSR 286 portlet that proxies for JSF artifacts.
Hope that helps!
John |