Download CS4273 Distributed System Technologies and Programming Tutorial on JDBC

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Microsoft Jet Database Engine wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Concurrency control wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Database wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Relational model wikipedia , lookup

Functional Database Model wikipedia , lookup

Clusterpoint wikipedia , lookup

Database model wikipedia , lookup

Transcript
CS4273
Distributed System Technologies and Programming
Tutorial on JDBC
1. Explain the followings (what information does it specify):
a) JDBC driver
b) Database url
c) JDBC proxy (gateway)
2. Compare and discuss the differences between a java application program and an
applet program, both using JDBC to retrieve data (say select) from a database. Please
emphasize on the data flow and programming part.
3. In the sample program of the 2-tier system, the applet retrieves data from the database
by “select” statement. Change the applet program to insert a new row (a data object)
into the table. The values of the attributes of the data object are input from text fields.
Please emphasize only on the changes you need to make.
4. If you’re asked to change a system of 2-tier structure to 3-tier’s in Java, what extra
work is required.