Data Source Objects : JDBC Data Source Applet - 19 Feb 2002
Description: The JDBC Data Source Applet implements a JavaBeans-compliant interface to expose data to your HTML page using Internet Explorer 4.0 Dynamic HTML data binding. Data is retrieved through JD
February 18, 2002
Description: The JDBC Data Source Applet implements a JavaBeans-compliant interface to expose data to your HTML page using Internet Explorer 4.0 Dynamic HTML data binding. Data is retrieved through JDBC and stored in a local cache implemented by the applet. Even though JDBC provides a forward-only cursor, the applet can provide random access to data when used with the data binding. Note that the JDBC Data Source Applet does not expose the ability to update the data, but does supply helper functions in Java. You can augment the code here with your own Java code to implement custom update functionality for your specific purpose.
More Details
We've provided two sample pages that uses the JDBC Data Source Applet that you can run on your system. One sample access data in an Access database using Microsoft's JDBC-ODBC bridge drivers. The other sample accesses an Oracle database using the Jet JDBC-ODBC bridge driver, provided by XDB Systems, Inc. The applet is designed to work with any JDBC driver. Other drivers can be used in addition to the two ODBC bridges shown here.
Since both examples use ODBC to access the data, you'll be required to perform some setup on your machine. Just follow the instructions below.
Instructions for all users: Make sure that you installed the software at the Authenticode prompts you received when accessing this page. If you did not install the software, click the refresh button now and install it. If you have an Access database, click here for instructions for using the applet with Microsoft Access. If you have an Oracle database, click here for instructions for using the applet with Orcale databases. The JDBC Data Source Applet works with ODBC-compliant databases, including Microsoft SQL Server, or other databases that provide a JDBC driver. If you don't have Oracle or Access installed, instructions/guidelines on configuring the JDBC Data Source Applet to run with your system are available.
Browser/Platform Compatibility
This sample is supported in Internet Explorer 4 and Internet Explorer 5.
About the Author
You May Also Like