Using the Java CAPS 6 Installation GUI

Importing Non-JBI Based Java CAPS Sample Projects

Sample projects are available for implementation and product training. You can import the sample project files from the Sun Java Caps Tutorials page on the Sun Developers Network (SDN) web site at http://developers.sun.com/docs/javacaps/tutorials/samples.jsp.


Note –

For some components, such as the TCP/IP HL7 Adapter, the samples are available from the Downloads tab of the Java CAPS Uploader.


ProcedureTo Import a Non-JBI Based Sample Project

Before You Begin

Make sure that the Java CAPS Repository is running and that all necessary components have been uploaded through the Java CAPS Uploader and installed through the NetBeans Update Center. Save all unsaved work before proceeding.

  1. In a browser window, go to the Sun Java CAPS Tutorials page on the SDN web site (http://developers.sun.com/docs/javacaps/tutorials/samples.jsp).

    The Tutorials page provides a list with links to each available sample.

  2. Select the Sample Project Zip File link and save the archive file on your local machine.

    Remember where you saved the file.

  3. Start the NetBeans IDE and connect to the running Repository:

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

    2. Enter the Repository connection values or accept the default ones.

    3. Click Connect.

  4. In the NetBeans IDE, select Tools->CAPS Repository->Import Project.

  5. On the Import Project dialog box, click Yes.

    The Import Manager appears.

  6. In the From ZIP File field, browse to the location of the sample project archive file.


    Note –

    Some of the sample ZIP files might need to be extracted in order to access the ZIP file for the actual sample Project.


  7. In the Destination Project field, select As Top-Level to import the Project at the top level, or select the name of an existing project to import it into.

  8. Click Import.

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

  10. Repeat the above steps for other project files you want to import.