Developer’s Guide

Table Of Contents
Using Java and JDBC to deliver your data
8-9
To view the example on Windows machines, you need:
1 Java.exe (included with JDK 1.1.8 for Windows) or equivalent
Java virtual machine installed in the system path on your computer
To view the example on Mac OS machines, you need:
1 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. (See “Installing the FileMaker Developer
software package” on page 1-2 for information.)
FileMaker Developer 5 > External FileMaker APIs > FileMaker JDBC
Driver > Examples > FileMaker Explorer
FileMaker Developer 5 > 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:
FileMaker Developer 5 > External FileMaker APIs > FileMaker JDBC
Driver > Examples > JBuilder 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 6-3.
Run the FileMaker Pro Explorer application
The FileMaker Pro Explorer application is located in the FileMaker
Explorer folder:
FileMaker Developer 5 > External FileMaker APIs > FileMaker JDBC
Driver > Examples > FileMaker Explorer > FileMakerExplorer.bat
FileMaker Developer 5 > External FileMaker APIs > FileMaker JDBC
Driver > Examples > FileMaker Explorer > FileMakerExplorer
1. Start the FileMaker Pro Explorer application by doing one of the
following:
1 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.1.8
1 Mac OS: Double-click the application icon to start FileMaker Pro
Explorer.
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.
See “Using a JDBC URL to connect to your database” on page 8-2
for information.
3. Select Inventory.fp5 (or other database name) on the left side of the
window to see information about it on the right side.
Replace entire text
with the JDBC URL
for the computer
running the
database