Junos Space SDK > Developer Guides > Junos Space Application Developer Guide > Programming with the Junos Space SDK > Using the Junos Space SDK Plug-in

Using the EJB-REST Wizard

Application developers can use the EJB-REST wizard to generate REST Web services for Java interface methods. The EJB-REST wizard uses a Java reflection API to read information from the Java interface that you can use to configure methods and fields as required for the web service. The wizard also generates JUnit test code for the REST web service with a chosen media type.

You can use the EJB-REST wizard to edit an existing REST Web service or to generate a new version of the entire Web service. When modifying a generated Web service, use the wizard to see the delta of information between the source Java interface and the REST Web service.

For more information, see the following topics:

Corresponding to the signature of the source method, the wizard generates a REST DTO with fields based on the selected HTTP method: GET, POST, PUT, or DELETE.

Follow these guidelines for writing the Java interface methods:

Follow these guidelines for creating and managing REST services documentation: