JSF Visual Web JavaServer Faces in NetBeans Tutorial
I recently started working with JSF for more than simply messing around with the components. In performing this work I have found that some of the information needed to develop JSF seems to be missing or hard to find. Because of this I have decided to write up what I have found to pass along the joy of JSF.
Because the tutorials for working with Visual Web JavaServer Faces in NetBeans will require a project I will start by describing how to create a project. This should work in pre 6.0 but I have used 6.0 and the latest 6.1 dev version for this blog.
Create the Project
Select File -> New Project. In the dialog select Web category and Web Application project then click Next.
In the next dialog give the project a name, I named mine JSFTableTutorial, and keep the default for Server, Java EE Verion, and Context Path. Then click Next.
In the final dialog select Visual Web JavaServer Faces for the framework and please change the Default Java Package, mine is com.jsf.tutorial yes I know it is not a good package name but it is better then the default jsftabletutorial. The rest leave as the defaults.
When you get done you will have a view in NetBeans similar to this.
This view shows the designer and the palette also in case you are unfamiliar with the NetBeans designer.
If you didn't get here from one of the tutorials on using JSF components you may be wondering why I wrote this. The reason is because I am writing multiple tutorials on using JSF components which all will need a project so here it is.
Please check back for a list of tutorials on using JSF components.