In the Creating a web application recipe, we saw how to create a basic JSP web application and introduced the concepts behind creating, deploying, and running a web application.
In this recipe, we'll take things a little further and show how to create a Java Server Faces (JSF) web application and run it on the WildFly application server. This recipe isn't intended to be a thorough tutorial on JSF, although we will go through the basics.
We'll create a JSF application that asks for our name and then welcomes us to the application. We'll see how NetBeans helps us make the development easier.
To complete this recipe, we need to have a running instance of the NetBeans Java EE bundle, together with a local installation of the WildFly 8 application server. We need to have the WildFly 8 plugin installed into NetBeans. See the Adding WildFly support to NetBeans recipe for further details.