Source File and String URL Syntax Sample

Included with AcuXDBC is the sample.java file, which is located in the samples directory of your product installation. This file demonstrates the use of the "DriverManager.GetConnection" method, along with the String URL syntax to connect to a remote system catalog.

Run the demo program, demo.bat on Windows and demo.sh on UNIX/Linux, to create a sample veterinarian database. The sample.java program will issue SQL commands to access the sample veterinarian database tables.

Note: No spaces are allowed between the String URL connection parameters. If access to the system catalog is local, @port no, machine name, and ip-address are not required.