Refining JSF 2.0 Understanding

Before delving into JSF 2.0, I want to clarify my understanding of JSF 2.0 by finding answers to the following questions:

  • What is the difference between a reference implementation and MyFaces?

  • Can jsf 2.0 with any reference implementation or MyFaces be deployed on any servlet container, i.e. tomcat / jetty, or should it be deployed only in a container compatible with Java EE?

  • How difficult is it to create custom tags? For example, a page link tag similar to what is available in Grails?

  • Is it possible to use * Faces (i.e. PrimeFaces, RichFaces, etc.) with a javascript library like jquery or yui? Are there any conflicts?

+3
source share
1 answer

1: MyFaces?

. JSF 2.0 spec, , JSF 2.0. . - ( ).

2: jsf 2.0 , MyFaces , tomcat/jetty, , Java EE?

. JSF 2.0 API Servlet 2.5. , , Servlet 2.5 Java EE 5. JSF 1.2 API Java EE 5, JSF 2.0. , , Java EE 6 (Glassfish 3, JBoss AS 6 ..), JSF 2.0.

3: ? , , , Grails?

Facelets ( JSF 2.0), . XML, Java-.

4: * Faces (.. PrimeFaces, RichFaces ..) javascript, jquery yui? - ?

, PrimeFaces, RichFaces jQuery (UI) PrimeFaces YUI. , look'n'feel / . jQuery, jQuery.noConflict(), .


JSF 2.0, :


:

, - ( )?

. , :)

, MyFaces JSF RI 1,1 . . , JSF RI dev JSF RI 1,2 , /. , . ( /).

:

+2

Source: https://habr.com/ru/post/1789320/


All Articles