Make sure that the Java CAPS Repository is running and that all necessary SAR files and components have been loaded. Save all unsaved work before proceeding.
In a browser window, go to the Sun Java CAPS Documentation tab on the SDN web site.
Under Check Out Java CAPS Docs, click the Tutorials and Sample Projects link.
Under Java CAPS Tutorials and Sample Projects, expand a tutorial list to expose the Sample Project Zip File link.
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.
(Optional) If desired, in Import Manager under Destination Project, set the project As Top-Level.
In Import Manager “From ZIP file,” browse to the location of the sample project archive file.
Select the sample project archive file, for example, prjBatch_Inbound_LocalFileIn_FTPOut.zip, and then click Import.
When the sample project has successfully imported, click Close.
Repeat step 6 for other project files you want to import.