-
Book Overview & Buying
-
Table Of Contents
Java EE 5 Development with NetBeans 6
To create a new web application taking advantage of NetBeans Visual Web functionality, we need to create a new web application project and add the Visual Web JavaServer Faces framework to it.
Consult Chapter 2 Developing Web Applications with Servlets and JSPs for detailed instructions on creating a new web application.

The Default Java Package field defaults to the project name. It is a good idea to modify this field.
After creating the project NetBeans should look something like the following screenshot.

NetBeans automatically creates a new JSP, named Page1.jsp. Additionally, NetBeans automatically generates a request scoped managed bean named Page1.java that can be used to programmatically manipulate components on the page. An additional request scoped managed bean, a session scoped, and an application scoped managed bean named RequestBean1.java, SessionBean1.java, and ApplicationBean1.java, respectively, are also created. All of these managed...