Junos Space SDK > Junos Space Application Developer Guide > Programming with the Junos Space SDK

Developing Junos Space Applications

The Junos Space SDK can be used to develop three different types of applications. These applications are:

Eclipse Project Types

The Junos Space SDK plug-in provides the following project types that enable you to create the different types of supported applications:

Supported Application Models

The Junos Space SDK plug-in supports three application models. These application models use a combination Web, EJB, and Web Serivice projects that are selected when you create a new Junos Space application. The three application models are:

The components of the three application models are illustrated in the following figure.

A System.sar and an EAR (Enterprise Archive) file are created for all three models. System.sar is a system archive file containing deployment-related information for the Junos Space application.

The EAR is a deployable archive of the Junos Space application. Additional EJB/web service projects can be added to an existing Junos Space application for any of the three models.

Complete Junos Space Application (application model 1)

This model supports creation of the UI components (Web package), Web services component (Web services package) and server-side components (EJB packages). Server-side components are packaged in a JAR file and the UI and Web services components are packaged in a WAR file. Together these separate components would be packaged in an EAR file. This kind of application model is used to support those applications to be completely hosted and accessed from a Juniper-hosted environment.

When you create a complete application the plug-in creates a Web, EJB, and Web service (WebSvc) project in Eclipse.

Web Service Junos Space Application (application model 2)

This model supports creation of the server-side components and the Web services components only. These applications are packaged in JAR and WAR files respectively and then packaged in an EAR file. This application model is to support those applications for which the business model and the access layer in the form of Web services are to be hosted by the Juniper environment.

When you create a Web service application, the plug-in creates an EJB and WebSvc project in Eclipse.

UI-only Junos Space Application (application model 3)

This model supports creation of the UI components only. These applications are packaged in a WAR file that will eventually be packaged in an EAR file. This is a purely client-based application model.

The application will contain a Web project in addition to a System.sar and an EAR.

When you create a UI-only application, the plug-in creates only a Web project in Eclipse.