Sun Adapter for Oracle Tutorials

ProcedureTo Import a Non-JBI Based Sample Project

Before You Begin

Make sure that the repository is running and that all necessary SAR files and components have been loaded. Save all unsaved work before proceeding.

  1. Open your browser and locate the Sun Java CAPS Documentation web site.

  2. Under the Documentation tab, click the Tutorials link.

  3. Under Java CAPS Tutorials and Sample Projects, expand a tutorial list to expose the Sample Project Zip File link.

  4. Click the Sample Project Zip File link and extract the sample project archive file to your computer. Make note of where you saved the file.

  5. Start NetBeans IDE and connect to the running repository:

    1. Select Tools -> CAPS Repository -> Connect.

    2. Supply or accept values: login name, password, etc.

    3. Click Connect.

  6. From the NetBeans toolbar, select Tools -> CAPS Repository -> Import Project.

    The Import Manager appears.

  7. In the Import Manager dialog box, browse to the location of the sample project archive file you extracted earlier, and select the ZIP file for the project you want to import.

  8. In the Destination Project field, select As Top-Level.

  9. When the sample project has successfully imported, click Close.

  10. Click Import. The new project appears in the Projects window.

Next Steps

After you Import a project, there are several steps required to configure, deploy, and run the project.

See the following sections for directions to complete your imported project: