|
You might need to use an HTTP proxy server because of these features:
The solution to both these problems is to install Informix JDBC Driver on the same computer as the Java applet and install the HTTP proxy as a middle tier between the Java applet and Informix database machines.
The HTTP proxy feature is not part of the JDBC 2.0 specification. The HTTP proxy is a lightweight servlet that extracts SQL requests from the JDBC client and transmits them to a database server. The client (the end user) is unaware of this extra layer.
To specify a proxy, amend the database URL statement:
The Web server must support servlets. (For example, the Sun and Apache Java Web servers do.)
Servlets
Add.
This procedure makes the Web server aware of the proxy servlet.
The steps for adding a proxy server to other Java Web servers are similar. Consult the documentation specific to your Web server for instructions on how to configure the servlet.
Depending on your Web server, the proxy servlet may be loaded when the Web server is started or the first time it is referenced in the URL of your applet or application connection object.
The following Web sites offer more information about proxy servlets:
Other ways to use Informix JDBC Driver in a multiple-tier environment are as follows: