Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "login- database- retrieve- newbie" Watch "login- database- retrieve- newbie" New topic
Author

login- database- retrieve- newbie

Allen Bandela
Ranch Hand

Joined: Feb 16, 2006
Posts: 128

Hi,
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.
Thanks
David O'Meara
Rancher

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 thing...you 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 java.sun.com

Regards


Sarath Mohan
Anoop Samuel
Greenhorn

Joined: May 02, 2006
Posts: 1
Testing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: login- database- retrieve- newbie
 
Similar Threads
One servlet, many platforms
RMI + Thread: perform searching on different worker PCs
Which tools can be used?
Project type selection
How to write Arabic text