• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Login using EJB(Servlet, JSP, Entity bean and Session bean )

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic