Hello,
I want to authenticate a user’s id and password.
1. The user enter the id and password in Jsp.
2. jsp directed the request to a servlet
3. Servlet create an instance of session bean and
call one of its method “validate user”
4. Validate user method is creating an instance of “User Entity
bean” for verification and returns true or false.
My question is ” is there any other alternative to Entity bean (other than
Hibernate) to verify user e.g Can I do it writing JDBC code?
if yes , where should i write the JDBC code, in another session bean
or in a simple Java DAO class?Is there any transaction issues using Jdbc code?