Hello,I want to add an authentication i.e login using email and password for users.I don't know how to do it using session and entity bean. Although I am able to insert data in database using session and entity bean and
servlet.
I am using glassfish server and connection pooling.
Here is the login page(login.jsp)
Here is the Controller Servlet(ControllerServlet.java)
Entity bean(Login.java)
and Session bean(LoginManager.java)
Please tell me what code should I write in session bean and controller servlet to achieve the authentication.