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.
For some components, such as the TCP/IP HL7 Adapter, the samples are available from the Downloads tab of the Java CAPS Uploader.
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.
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.
Select the Sample Project Zip File link and save the archive file on your local machine.
Remember where you saved the file.
Start the NetBeans IDE and connect to the running Repository:
In the NetBeans IDE, select Tools->CAPS Repository->Import Project.
On the Import Project dialog box, click Yes.
The Import Manager appears.
In the From ZIP File field, browse to the location of the sample project archive file.
Some of the sample ZIP files might need to be extracted in order to access the ZIP file for the actual sample Project.
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.
Click Import.
When the sample project has successfully imported, click Close.
Repeat the above steps for other project files you want to import.