Configuring the Junos Space SDK environment involves configuration changes to the Eclipse Junos Space SDK plugin and configuration changes to the Junos Space Virtual Appliance (JSVA).
Eclipse plug-in for Junos Space SDK
The Eclipse plug-in for Junos Space SDK provides a Junos Space perspective, views, and wizards in Eclipse IDE for coding Java-based Web-service applications and EJBs.
Note: Always refresh Eclipse before exporting any workbench resources. Otherwise, it is possible that you might get an error "Resource is out of sync with the file system".
To refresh Eclipse, select the resource, right-click and select the Refresh option. In general, we recommend that you enable the autorefresh option in Eclipse. To enable the auto-refresh option, click on Windows > Preferences > General > Workspace and check "Refresh on access"
Junos Space Virtual Appliance (JSVA)
The JSVA is a virtual machine (VM) image that can be deployed on VM player software. The procedure and steps on how to install the Oracle Virtual Box—supporting VM player software—is documented and described in the Junos Space SDK Installation Guide. The JSVA is a Linux-based operating system that integrates various third-party servers, components, and software to create the Junos Space Platform solution.
One of the key components of the JSVA is the JBoss J2EE Web Application Server. Junos Space Platform and Junos Space UI applications run on the JBoss J2EE Web Application Server and provide the control and Web application UI interface to the Junos Space Platform.
A Junos Space Platform application developed by you—through use of Eclipse and the Junos Space SDK Eclipse plug-in—can be deployed on such a JSVA setup.
JSVA also provides a very useful and highly valuable utility, the Device Simulator software. The Device Simulator utility allows the simulation of Juniper Networks devices. This device simulation software is managed and controlled through the Eclipse IDE environment. Do note that devices must be managed by the Junos Space Platform before they can be configured using the REST APIs. Simulated devices in the JSVA are placed under Space management using the Space Device Discovery process described in Discovering Devices in Junos Space.
See the Junos Space SDK Installation Guide for instructions about how to install the VirtualBox virtual machine software and the JSVA image, configure a Windows host environment, and verify JSVA operation.