| ★ wanayoo — archive 1999 http://wdvl.com/Authoring/DB/Intro/jdbc_setup.html | Nouvelle recherche | Portail wanayoo |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JDBC Application Environment SetupNovember 23, 1998
Assuming that you have already been working through this tutorial, you will already be set to run a JDBC application. However, before we get into the nitty gritty, let's do a recap.
Installing a DatabaseThe first thing you will need, of course is an actual running database with a table that you can query and modify. In the SQL and CGI sections, we explained how to setup an MSAccess database and create a test table. We will continue to use that table and database here. In particular, we will use the CUSTOMERS table from the Test_db.mdb database that we gave a datasource name of "Access" in our 32-bit ODBC control panel.
Installing the JDKYou will also need to install the JDK. I recommend installing JDK 1.17, but that you code your application to the JDK 1.02 standard. That way your application will be accessible to a wider audience of web browsers, many of who may not have browsers that support JDK 1.1 APIs.
Installing a Local Web ServerFinally, you will need a web server to serve your Java application. In the CGI section, we discussed how you could setup the Sambar Web Server on your local workstation. Using a local web server means that you can do all your development and testing locally and then transfer the final application to the web server on the internet. This section assumes you have already installed Sambar and the rest.
Introduction to Databases for the Web | Table of Contents Using JDBC to Connect to a Database |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Instantly look up a "techie" word using
Webopedia!!
|
Copyright 1999 internet.com Corporation. Legal Notices. Privacy Policy.