Using the Java Persistence API in a Stand-Alone Web App
Demonstrates the use of Java Persistence APIs in conjunction with JavaServer Faces to create a simple authentication scheme using JavaServer Faces PhaseListeners and a simple Entity bean representing a user.
Get NetBeans IDE
NetBeans IDE 6.7, Java bundle
Get the Sample
This sample is already bundled in the Java bundle of NetBeans IDE.
Choose: File > New Project > Samples > Java Web > WebJpa
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.