Nice and simple user authentication example demonstrating the use of Java Persistence APIs in conjunction with JavaServer Faces.
It creates a basic authentication scheme using JavaServer Faces PhaseListeners and a simple Entity bean representing a user.
Get NetBeans IDE
NetBeans IDE 6.8, 6.9, 7.0, 7.1, Java EE bundle
Get the Sample
This sample comes bundled with the Java EE bundle of NetBeans IDE.
Choose: File > New Project > Samples > Java Web > JSF JPA
NetBeans Update Center
The Update Center is your source for accessing the latest samples
highlighting emerging technologies, plug-ins from NetBeans and our
partners, and patches to make sure your IDE is running smoothly. As
fast as we make it, we'll ship it to you via the Update Center.
Start now by having the latest Top 5 samples delivered directly to your IDE.