Developer’s Guide

Table Of Contents
Using Java and JDBC to deliver your data 9-9
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.
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 FileMaker Developer 5.5
folder.
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:
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 9-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.
4. Expand the Inventory.fp5 node (folder) to expose the Layouts and
Scripts nodes.
5. Select Layouts to display the names of the layouts for the
Inventory.fp5 database on the right side of the window.
6. Expand the Layouts node to display a leaf node for each layout.
Replace entire text
with the JDBC URL
for the computer
running the
database