ejb + servlet + jsp
Hallo everybody,
i try to develop an application with servlet jsp and ejbs but i don't have enough information about this thema.
for example i want to make a simple login szenario :
user type the name and passwd and the system contact with the db and show a wellcome page if the login is succesfull and an error page if the login is unsuccessfull.
which component does was?
the first page can be a html form and post the name and passwd to a servlet.
in this case servlet can make a connection with the DB and can forward the user to next page or error page. BUT where should i use EJB? can i realize the db connection with ejb ? if yes how can interact the servlet with the ejb and how can i store the information (for example address of user) which i have taken from the DB?
thanks a lot

