Building Web Applications Using Servlets and JSP Part II
June 12, 2000
|
In the
first part
we built a simple web application with Servlets and JSP. We skipped over some of the finer details, specifically accessing the database using
Servlets. In this part we will modify our Login Servlet to validate the
userid and password with those from the database.
|
What will we Cover:
- JDBC a brief introduction
- Retrieving Data - a simple JDBC example
- STEP 1: Make a connection
- STEP 2: Use this Connection to access the Database
- The complete ValidateUser method
- Overview of JDBC 2.0
- Connection pooling and introduction to application servers
What you should know:
- RDBMS Concepts
- Basic SQL commands
Also the assumption is that you understood the
sample application
we built in part 1.
Contents:
JDBC a Brief Introduction
Retrieving Data - a Simple JDBC Example
STEP 2: Use This Connection to Access the Database
The Complete ValidateUser Method
JDBC 2.0
Connection Pooling and Introduction to Application Servers
Appendix
Appendix A: Compiling & Executing Servlets
JDBC a Brief Introduction
|