users@glassfish.java.net

Validating user form input against database using JSF

From: <glassfish_at_javadesktop.org>
Date: Sun, 03 Oct 2010 13:42:01 PDT

We are newbies to the JAVA EE world . We are trying to validate user input (userId ,pasword) against database by using Facelets.

The following files are generated in our project:
model
Users.java and UsersController.java
controller
UsersFacade.java and AbstractFacade.java
and index.xhtml

We are calling our login facelets from the index.xhtml . This facelet takes user id and password from a form text input. We have to validate this input against database using Persistent APIs.

Can anybody suggest me how do I go about it?

My environment is Glassfish v3 with Netbeans.
We are using JSF and Facelets.

Please also suggest some good book on JSF and facelets for NETBEANS.
[Message sent by forum member 'sr75']

http://forums.java.net/jive/thread.jspa?messageID=484225