This content has been marked as final. Show 4 replies
EJP wrote:Not entirely accurate, JSPs can still be used in conjunction with JSF to handle the view rendering. That is something that JSF itself doesn't really do, although you can argue that JSF 2 does because Facelets is bundled and managed as part of the framework now.
JSP is not an 'extension for JSF', it is an alternative and older technology.
JSPs generate Java code and have to be compiled and are now deprecated in favor of Facelets.That of course is right on the mark. The compiled nature of JSPs does not really work well with the way JSF operates although I must admit I never looked into what JSP 2.0 changed to remedy that. But still Facelets gives you nice features such as templating right out of the box.
EJP wrote:Coexist sounds like a fitting description of the relationship, yes. In that respect I'd say that Facelets is actually not a true "replacement" for JSPs (like I've been calling it until now) but rather a way to complete JSF and get rid of the dependency on that legacy tech.
Not entirely accurate, JSPs can still be used in conjunction with JSF to handle the view rendering.Yes it can, but it is still not an 'extension of JSF'. It can coexist with JSF, but not very well, as the phases are different.