M
MP
Quick Question:
For my web app I will be having a user login. Now I am wondering how I
should go about it.
1. JSP --> ActionServlet --> UserManager(session bean)
In this scase the UserManager session bean would do the appropriate
call to lookup the user information.
2. JSP --> ActionServlet --> UserManager(session bean) --> User
(entity bean)
Pretty much the same but the UserManager session bean would simply
validate the info supplied by the user and call the User entity bean
to do the lookup of the user id and password. The UserManager is
acting as the Facade for the entity bean User.
(The ActionServlet is Struts)
Thanks for your input.
For my web app I will be having a user login. Now I am wondering how I
should go about it.
1. JSP --> ActionServlet --> UserManager(session bean)
In this scase the UserManager session bean would do the appropriate
call to lookup the user information.
2. JSP --> ActionServlet --> UserManager(session bean) --> User
(entity bean)
Pretty much the same but the UserManager session bean would simply
validate the info supplied by the user and call the User entity bean
to do the lookup of the user id and password. The UserManager is
acting as the Facade for the entity bean User.
(The ActionServlet is Struts)
Thanks for your input.