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

Chapter 6. Visual Web JSF Development

One very nice NetBeans feature is that it allows development of web applications by simply dragging-and-dropping components from a palette into a design window. In addition to allowing us to easily develop web applications this way, the NetBeans Visual Web functionality also allows us to easily display data from a database by simply dragging a database table into a visual JSF component on the design window.

The following topics will be covered in this chapter:

  • Writing our first Visual Web application

  • Populating components with database data

  • Ajax-enabling Visual Web applications

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