home *** CD-ROM | disk | FTP | other *** search
- InterClient 1.12
- Last modified : Nov 6, 1997
-
- Contents:
- I. What is InterClient?
- II. How Does InterClient Differ from DataGateway?
- III. Compatibilities
- IV. Configuration
- V. Testing an Applet Configuration
-
- __________________________________________________________________
- What is InterClient?
-
- InterClient is an all Java JDBC driver for InterBase,
- and is now available for free download from
- http://www.interbase.com
-
- InterClient is a networked driver, meaning that
- it incorporates a JDBC remote protocol for exchanging and
- caching data between client and server.
- This allows for a browser enabled client with NO
- preinstalled client libraries (such as ODBC)
- to access InterBase data across the net.
- This differs from a JDBC bridge which maps from the JDBC API
- to some native RDBMS vendor API or ODBC.
- A JDBC bridge implementation relies on the RDBMS vendor's
- native API for the actual exchange and caching of data
- between server and client.
-
- The advantage of a networked driver over a bridge implementation
- is that the client is 100% pure Java, thereby providing for
- cross-platform, robust, and secure applets.
- Whereas a bridge implementation requires some binary code to be
- pre-loaded on each client machine, contrary to the notion of an applet.
-
- The JDBC remote protocol employed by InterClient is
- streamlined for JDBC data access, and is database independent
- except in cases where InterBase access can be optimized or
- proprietary InterBase features may be leveraged.
-
- __________________________________________________________________
- How Does InterClient Differ from DataGateway?
-
- The Borland DataGateway product was derived from InterClient,
- building on its database independence. The difference between
- InterClient and DataGateway is the backend database API
- to which the server component communicates. In the case of
- InterClient, the backend API is the InterBase native API.
- In the case of DataGateway, the backend API is the BDE (Borland
- Database Engine). InterClient is optimized for InterBase access.
-
- __________________________________________________________________
- Compatibilities
-
- Neither InterBase nor InterServer need to be installed on
- the client machine, nor even InterClient if running applets.
-
- InterClient 1.1 is compatible with the
- Java Runtime Environment (JRE) 1.1
-
- InterServer 1.1 has been tested with
- InterBase 4.x and 5.0
- Windows 95 and NT 4.0
- Solaris 2.x including 2.6
- HP-UX 10.x
-
- __________________________________________________________________
- Configuration
-
- On both Windows and Unix, the following
- entry must appear in the services file.
-
- interserver 3060/tcp
-
- The TCP/IP services file was modified as a part of the
- installation. You can add the above line manually if you
- decided not to have setup make the modifications for you.
-
- The services file can be located as follows:
- * Windows NT <WINDOWS_DIR>\system32\drivers\etc\services
- * Windows 95 <WINDOWS_DIR>\services
- * Unix /etc/services or an NIS services map
-
- For Unix only, an entry in the /etc/inetd.conf file is also required:
-
- interserver stream tcp nowait root /usr/interclient/bin/interserver interserver
-
- The CLASSPATH environment variable should be updated to include
- <INSTALL_DIR>\interclient.jar
-
- These configurations should be performed automatically by the
- Windows install program. The class path configuration for
- UNIX must be performed manually.
-
- __________________________________________________________________
- Testing an Applet Configuration
-
- See Install.txt for basic instructions on testing your local
- machine configuration for running InterClient applications.
-
- CommDiag may also be run as an applet on clients in which neither
- the JDK nor InterClient is installed. Using a Java enabled browser,
- browse CommDiag.html or CommDiagForNetscape.html off a web server
- which has InterClient deployed. If you run InterClient applets
- such as CommDiag through a browser, then you may need to remove the
- interclient.jar from your local CLASSPATH to avoid a security
- exception.
-
- You may also run CommDiag through the appletviewer:
- unset CLASSPATH
- appletviewer CommDiag.html
- You may need to unset your CLASSPATH temporarily in your command
- session when viewing a local applet, otherwise you could receive a
- java.lang.IllegalAccessError. CommDiag.html contains
- an applet tag which references the interclient.jar archive.
-
- Untrusted applets are not allowed to open network connections to
- arbitrary hosts, except for the host that provided the .class files.
- This is either the host where the html page came from,
- or the host specified in the codebase parameter in the applet tag,
- with codebase taking precendence. Therefore, untrusted applets,
- will only operate if InterServer is installed on the same web
- server host that serves the interclient.jar file. If you choose
- to deploy InterServer on another host then you must digitally
- sign your applet together with the interclient.jar file so
- that the entire applet is trusted.
-
- Be sure to name the originating host exactly as it was specified
- when the applet was loaded into the browser.
- That is, if you load an HTML page using the URL
- http://foo.state.edu/~me/CommDiag.html
- then your applet will be able to connect to its host only by using
- the name foo.state.edu in the jdbc URL
- jdbc:interbase://foo.state.edu//databases/employee.gdb
- Using the IP address for foo.state.edu won't work, and using a
- "shorthand" form of the host name, like foo.state instead of
- foo.state.edu, won't work.
- __________________________________________________________________
-
-
-
-
-