Skip to main content


developerWorks  >  Java technology  >

Building Web-based applications with JDBC

developerWorks

Level: Intermediate

Robert Brunner (rjbrunner@pacbell.net), Astrophysicist , California Institute of Technology

19 Dec 2001

Register now or sign in using your IBM ID and password.

If you're looking to build a Web application that interacts with a backend database using JDBC but you're not sure how, then this tutorial is for you. In this hands-on guide, you'll learn the fundamentals of this process using three separate techniques: a servlet approach, a JavaServer Pages (JSP) page approach, and combined JSP, JavaBeans, and servlet approach (also known as Model Two). Follow along with expert Robert Brunner as he steps you through each process and discusses the pros and cons of each.

Prerequisites

This tutorial assumes you work comfortably with the Java™ programming language and does not delve into the particulars of servlets or JSP technology. The techniques presented, however, build on the skills developed in "Managing database connections with JDBC" and "Advanced database operations with JDBC," and we recommend that you complete these tutorials prior to starting this one.


System requirements

You will need JavaScript enabled on your browser.

To work through the examples, you will need to have the following tools installed and working correctly:

  • A text editor
  • A Java development environment
  • An SQL-compliant database
  • A JDBC driver
  • A JSP page container
  • The message board tables from the tutorial "Advanced database operations with JDBC"



Duration

Under one hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed