Developer’s Guide

Table Of Contents
Using JDBC to deliver your data 11-9
Setup requirements
Included with the example is the swingall.jar file, on the FileMaker
Developer CD.
Developer Extras>FileMaker, Inc>External FileMaker APIs>FileMaker
JDBC Driver>JDBC Examples>FileMaker Explorer
To view the example on Windows machines, you need:
Java.exe (included with JDK 1.3 for Windows) or equivalent Java
virtual machine installed in the system path on your computer
To view the example In Mac OS machines, you need:
MRJ 2.2 or equivalent Java virtual machine installed on your
computer
Install the example and the FileMaker JDBC Driver
If necessary, install the FileMaker Explorer example and the
FileMaker JDBC Driver.
Developer Extras\FileMaker, Inc\External FileMaker APIs\FileMaker JDBC
Driver \ JDBC Examples\ FileMaker Explorer
Developer Extras\FileMaker, Inc\External FileMaker APIs\ FileMaker
JDBC Driver\ Fmpjdbc12.jar
Open and share your databases via the Web
1. In FileMaker Pro, open any FileMaker Pro database, such as the
Inventory.fp5 database located in the JBuilder example folder:
Developer Extras\FileMaker, Inc\External FileMaker APIs\ FileMaker
JDBC Driver\JDBC Examples \Builder 3.0 Professional \Inventory.fp5
2. Choose File menu > Sharing, verify that Web Companion is selected,
and click OK to share the database on the Web.
For information about setting up the Web Companion so that it’s
already selected in this dialog box, see
“Enabling the Web
Companion” on page 8-3.
Run the FileMaker Pro Explorer application
The FileMaker Pro Explorer application is located in the FileMaker
Explorer folder:
Developer Extras\FileMaker, Inc\External FileMaker APIs\FileMaker JDBC
Driver \Examples\FileMaker Explorer\FileMakerExplorer.bat
Developer Extras\FileMaker, Inc\External FileMaker APIs\FileMaker JDBC
Driver\Examples\FileMaker Explorer\FileMakerExplorer
1. Start the FileMaker Pro Explorer application by doing one of the
following:
Windows: Choose Start menu > Run and locate and select the
FileMakerExplorer.bat file. Then, add the location of the JDK for
running the application at the end of the command line:
“full path\FileMakerExplorer.bat” c:\jdk1.3
Mac OS X: Double-click the application icon to start
FileMaker Pro Explorer.
Replace entire text
with the JDBC URL
for the computer
running the
database
2. Click the root node of the tree in the left side of the FileMaker Pro
Explorer window to select it, and replace the entire text with the
JDBC URL for the computer that is running the database, for
example, type jdbc:fmpro:http://localhost/. Then press
Enter.