The moose likes Servlets and the fly likes login- database- retrieve- newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "login- database- retrieve- newbie" Watch "login- database- retrieve- newbie" New topic

login- database- retrieve- newbie

Allen Bandela
Ranch Hand

Joined: Feb 16, 2006
Posts: 128

I'm trying to build a banking application using servlets. I'm trying to build a servlet that checks connection to a database, retrieves the account information based on the username and password and display that info. Is there a built-in servlet anywhere that accomplishes this task of log-in? I'm a total new comer to J2EE trying to learn by myself. Could anyone give me links to resources that I could use. The application seems simple in functionality but complex to implement.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Yes, you can get the container to manage authentication for you. Depending on your requirements, you should look at Basic authentication or farm based authentication. My preference: form.
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
First must have very good idea about Java Web Application Architecuture. How you can configure and use servlets, web.xml, web-app directory structure etc. Good serverlet Container is Apache Tomcat. If you don't know these, I think it is useless even if you get ready made code

Resources, Of course


Sarath Mohan
Anoop Samuel

Joined: May 02, 2006
Posts: 1
I agree. Here's the link:
subject: login- database- retrieve- newbie
jQuery in Action, 3rd edition