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