Java EE 6: JSF vs Servlet + JSP. Should I bother learning JSF?

前端 未结 5 1471
感动是毒
感动是毒 2020-12-24 02:05

I am trying to get familiar with Java EE 6 by reading http://java.sun.com/javaee/6/docs/tutorial/doc/gexaf.html. I am a bit confused about the use of JSF.
Usually, the w

5条回答
  •  -上瘾入骨i
    2020-12-24 02:28

    In JSF uses one specific Servlet (the Faces Servlet) to handle all incoming requests and dispatch them to the appropriate beans.

    JSF is a component-based MVC framework, while JSP is a view technology.
    You can use JSP with JSF, although Facelets is the preferred view technology.

提交回复
热议问题