Getting Started Guide

The Easysoft JDBC-ODBC bridge (JOB) comes in two components:

There is also a lightweight HTTP server ('webserver') built-in to the JOB server, which provides access to these documentation files and the driver classes.
This is not a full-fledged webserver like Apache, but a cut-down server intended only to provide the demos and web-configuration/monitoring of the JOB server.

For illustrating applet deployment view source for OutputApplet.html and coding see OutputApplet.java. Use browsers View->Source function to see the source.

Connecting to the JOB

The driver is implemented in the package easysoft.sql. It imports the easysoft.rpc package that enables Remote Procedure Calls to C functions in the JOB server. The driver class is
easysoft.sql.jobDriver

The classes that make up the driver are in the Java archive file EJOB.jar.

You can load the JOB Driver classes in your code using:
Class.forName("easysoft.sql.jobDriver").newInstance();
Alternatively you could use:
Class.forName("ez").newInstance();
which in turn will instantiate easysoft.sql.jobDriver class.

You connect with a URL following the easysoft subprotocol, for example:

String jobUrl= "jdbc:easysoft://demo.easyoft.com/pubs";
Connection con = DriverManager.getConnection(jobUrl);

The general form of a JOB URL is:

<url> ::= jdbc:easysoft:[<server spec>]:[<database>]{:<attribute>=<value>}*
<server spec> ::= //[<host name>][:<port>]/
<database> ::= <dsn> | DSN=<dsn> | FILEDSN=<filedsn>

...where | separates optional items, [ ] denotes an optional item and { }* denotes zero-or-more occurences.

host name and port describe how to access the remote machine where the JOB server is running.

Easysoft JDBC Url Examples