Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Getting Started With WebObjects


   

Choosing an Adaptor

An adaptor is a mechanism that connects your application to a particular database server. For each type of server you use, you need a separate adaptor. WebObjects provides adaptors for OpenBase Lite, Informix, Oracle, and Sybase servers. If you're working on a Windows platform, WebObjects also provides an ODBC adaptor for use with ODBC-compliant database sources.

  1. In the wizard panel, choose the adaptor for your database.

  2. Click Next.

    A login panel for the selected adaptor opens. Different databases require different login information, so each database's login panel looks different. Shown below are the login panels for the OpenBase Lite, Oracle, and ODBC adaptors.

  3. Complete the login panel.

    If you are using the preinstalled OpenBase Lite database, click "Browse", browse to the /Local/Library/Databases/Movies.db file (\Apple\Local\Library\Databases\Movies.db in Windows NT) and click Open. The filename now appears in the Database field.

    If you are not using OpenBase Lite, specify the connection information you provided when you created and populated the Movies database. Post-Installation Instructions provides more information.

  4. Click OK.

When you use the wizard to create a model file, the wizard uses the adaptor you specify to connect to your database. With the information you specified in the adaptor's login panel, the adaptor logs in, reads the database's schema information, and creates a model. The wizard uses your answers to the questions in the next several pages to configure that model.


© 1999 Apple Computer, Inc. – (Last Updated 24 Aug 99)