O'Reilly logo

NetBeans IDE 7 Cookbook by Rhawi Dantas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using JSF as a web framework

In this recipe, we will put into practice some of the goodies that JSF packs, and that NetBeans makes it easier for the developer to take advantage of.

In this recipe, we will create a JSF CRUD. To access the CRUD, the user is forced to pass through the login page, which we will develop using Managed Beans. On the top of all that, we will add templates to each and every page created, giving a more consistent look across the application.

Getting ready

It is also possible to use available sources from your own Java Web project. Java DB must be installed and configured. It is necessary to have a connection to the sample database. Refer to Chapter 04, JDBC and NetBeans, to learn how to do it if unsure.

How to do it...

We ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required