This topic describes the HelloSpace reference application included in the Junos Space SDK. It describes the major steps used to create the application with the Junos Space Eclipse IDE plug-in and explains some of the concepts for using the API notification features. It also presents instructions for using the REST Interface Creation wizard in the IDE.
The HelloSpace application consists of the following options:
The HelloSpace application was created using the Junos Space SDK with the Eclipse SDK IDE. HelloSpace is designed on the "Complete Junos Space Application" model. The purpose of the HelloSpace reference application is to demonstrate:
In this tutorial, high-level steps for creating an application using the IDE wizards and views are explained. This Junos Space application consists of five Eclipse projects as shown in the Project Explorer of the Eclipse IDE.
HelloSpace is initially installed by the SDK installer into a
../Juniper Networks/Junos Space
SDK/docs/samples/Sample Applications. To import the
application use the Eclipse import wizard. For more information about
importing HelloSpace and other SDK sample reference applications, see Reference Applications.
After importing "HelloSpace" its projects are displayed in the Eclipse Project Explorer.
A detailed description of the projects in the HelloSpace application is given in the following table.
|HelloSpace Application Projects|
|HelloSpace||The master HelloSpace project grouping other
applications into an EAR package. This project contains
|HelloSpaceEJB||This project contains the J2EE interfaces and services (session and entity beans) for the server-side business logic. In HelloSpace, EJB creation is manual. You can use the Junos Space SDK specific framework/annotations and the regular EJB standards to create the EJBs.|
|HelloSpaceWeb||This project contains the web layer for the HelloSpace application. All necessary Java Script files, images, and servlet generation codes reside in this layer. The web layer is designed from the Sencha designer and styles reference (for more information, see Sencha Documentation).|
|HelloSpaceWebSvc||This project contains the HelloSpace REST web services. These web service resources are generated using the Junos Space SDK REST wizard.|
|system.sar||This project contains pluggable components that allow the HelloSpace application to be plugged into the Junos Space SDK platform environment.|