Previous Topic: Sample ProgramsNext Topic: IdmsExample


IdmsJcf

This can be thought of as a simple Java version of OCF, providing a Graphical User Interface (GUI) query facility. It can be run as an application or an applet on any machine supporting the Swing classes. Both source code and compiled class files are installed, as well as a sample HTML page to invoke it as an applet. On the Windows platform, a shortcut is added to the CA IDMS Server menu to run it as an application.

To run to the CA IDMS JCF applet demo in a web browser, the JDBC server must be running on the web server. Because JdbcTest is the default data source, consider defining a data source called JdbcTest.

This sample is installed in the CA IDMS Server installation directory:

/idmsdir/src/ca/idms/jcf/IdmsJcf.java

Source code, entry point and UI

/idmsdir/src/ca/idms/jcf/JdbcTable.java

Source code, JDBC calls

/idmsdir/src/idmsjcf.html

Sample web page to invoke as applet

/idmsdir/lib/idmsjcf.jar

Compiled IdmsJcf classes

For UNIX and Linux systems, where there is no automated installation process, these files can be found on the CA IDMS Server CD in these locations: