Note:
This is purely a proof-of-concept application, and is not built with robustness or security in mind. There is no mechanism built in to keep users from, say, dropping all the databases in the data source that you provide. Because of this, I do not recommend that you leave the server running unattended.
The socket code was largely lifted from the O'Reilly book, "Java in a nutshell."
This applet assumes that you have installed the JDBC-ODBC bridge software on the server, and that you have a data source called "NWIND." Feel free to modify the app so that it accepts a data source name from the command line, or from the client applet. The machine running the client applet does not need any special software beyond a vanilla JVM implementation, as all the SQL processing is handled on the server.
The sources:
Source for the client
Source for the server