Installing 1.0 of Jagg
- Jagg Class and Documentation
When you use the 1.0 Jagg class, ensure the file Jagg.class
is in your java source directory.
Copy \Jagg\Jagg.htm into your Java documentation directory on your web server, else
you can view the document by reading it into your browser. Note that links to java.* classes
are relative, anticipating a local set of documentation. We include the images
necessary under \Jagg\images\, so they should load correctly on your local system.
- Jagg Server
The Jagg Server, JaggDemo.exe, must be setup in your web server's cgi-bin directory, or
the equivalent. This is all the setup that is needed. All accesses to the Jagg server will
be initiated through the Jagg class, which takes care of all the complexity of sending
your queries and reading the results.
- ODBC Data Sources
If your ODBC Data Sources are already setup, then you can begin using them right away
with Jagg.
If you do not yet have Data Sources, you can install the included ODBC package and
setup an example Data Source for the JaggDemo, discussed below.
- Jagg Demo on BulletProof's Site
- Jagg Demo on this local site (if already recompiled)
- Source
Edit the source JaggDemo.java and enter the path name to JaggDemo.exe on your server.
- Comiling
You can recompile and change the demo to get a feel for the simplicity and power
of Jagg.
For example: javac Jagg\Demo\JaggDemo.java
- CLASSPATH
Ensure that Jagg.java is in the same directory as the java source, and that your
CLASSPATH variable includes . (dot).
For example: set CLASSPATH=.;c\java\lib\classes.zip
- Running
The simplest way to run the demo is with the appletviewer.
For example: appletviewer Jagg\Demo\index.htm
- Setting up a demo ODBC Data Source
- The JaggDemo uses a simple DBF as an example, you must add this as
a Data Source named Jagg Demo 1.
- Setup the included ODBC package according to the instructions in that package.
- Run Odbcad32. Select Add and pick a driver for the demo database. Select OK.
- Select Setup.... Enter Jagg Demo 1 as the Data Source Name.
- Use Select Directory... to point to Jagg\Demo\.
- Use Select Indexes... to choose JAGGDEMO.CDX.
- Select OK to close the Setup window, and selct Close to finish the session.
- Your demo Data Source should be ready.
- Having Problems with Jagg?
If you are experiencing problems with Jagg, or have suggestions for improvements
then submit a report to us. We will try to address your comments as quickly as possible.
We look forward to your input.