DEV Community


Discussion on: Create a Primefaces JSF project with Maven and Wildfly

walkingriver profile image
Michael D. Callaghan

I presume the @Named and @ViewScoped annotations are how a class is associated with its view. What I find odd is the conversion from normal HTML tags to what appear to be server-side tags.


What value does that bring to the application?

<h:outputText value="#{helloworld.message}" />

This seems more complicated than the first example. What does the <h:outputText> provide over a simple <p>?