Newbie JSP/BEAN question.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, February 26, 2002 12:42 PM

Hi, I'm new at jsp/beans and trying to figure out what is the best way to implement a jsp/bean/(servlet?) solution for a login system. I like the idea of using a login bean and check its successful login status in pages that required authorization. In the login process what would be the best place to create the database connection and look up the user? In the bean itself or in a separate servlet that uses the bean?



Thanks,




A link to a tutorial or discussion regarding this would be good also.

Re: Newbie JSP/BEAN question.

Posted By:   Yufu_Huang  
Posted On:   Tuesday, February 26, 2002 03:13 PM

In the Bean. Or if you are using EJBs, put in the DAO (Data Access Object) or make it CMP (Container Managed Persistence).
About | Sitemap | Contact