This appendix describes the provided samples.
Sample Storage Destinations
The standard workbench and Java EE 6 workbench sample applications are stored in the following locations:
<Standard workbench installation folder>\sample
<Java EE 6 workbench installation folder>\sample
Samples List
Sample applications are stored in the following locations:
File Name | Project Name | Notes |
---|---|---|
WebSample.zip | WebSample | This is the application created as described in "2.2 Introduction" in "Developing Web Applications". |
EJBSample.zip | EJBSample | This is the application created as described in "3.2 Introduction" in "Developing Enterprise JavaBeans (EJB)". |
EJBClientSample | ||
EJBEARSample | ||
JPASample.zip | JPASample | This is the application created as described in "4.2 Introduction" in "Developing Applications that use Java Persistence API (JPA)". |
JPAClientSample | ||
JPAEARSample | ||
WebServiceSample.zip | WebServiceSample | This is the application created as described in "5.2 Introduction" in the "Developing Web Service Applications". |
WebServiceClientSample | ||
WebServiceEARSample | ||
AppletSample.zip | AppletSample | This is the application created as described in "7.2 Introduction" in the "Developing Java Applications". |
A "6" has been added to the end of the file and project names in the Java EE 6 workbench samples.
Procedure for using Samples
Use the following procedure to import samples to the Workspace:
Launch the workbench.
Select [File] > [Import] from the menu.
Select [General] > [Existing Projects into Workspace] as the import source selection, then click [Next].
On the next screen, select [Select archive file], then click [Browse] to specify the archive file to be imported.
Click [Finish].
Note
When using the Java EE 6 workbench (exclude AppletSample6.zip), register the Interstage Application Server V11.1 (Java EE 6) runtime in "9.6.1.1 Preparing to Operate Servers" before importing the samples.
If the Java EE 6 workbench Web service sample (WebServiceSample6.zip) is used in an environment in which this product has been installed (in an environment that is not "C:\Interstage"), refer to the notes in "9.5.1.3 Developing Web Service Applications" after importing the samples, before reconfiguring the WebServiceClientSample6 project build path.