Book Image

Java EE 5 Development with NetBeans 6

Book Image

Java EE 5 Development with NetBeans 6

Overview of this book

Table of Contents (17 chapters)
Java EE 5 Development with NetBeans 6
Credits
About the Author
About the Reviewers
Preface
Identifying Performance Issues with NetBeans Profiler

Writing Our first Visual Web Application


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.

Note

Consult Chapter 2 Developing Web Applications with Servlets and JSPs for detailed instructions on creating a new web application.

Note

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...