The service interface layer is the layer for the display of capabilities, including the extensions of exising interfaces and new interfaces.
- Extending exsiting interface
The extension of existing interfaces in SuperMap iServer mainly focuses on REST service interfaces. The JaxrsServletForJersey and RestServlet service interface implementation classes correspond the Restlet and JAX-RS mechanisms respectively. The extensions include:
- Degfining REST resource Restlet and JAX-RS mechanisms
- Extending encoder
- Extending decoder
SuperMap iServer provides two implementation mechanisms for REST services: Restlet and JAX-RS. When creating domain resources, extensions based on JaxrsServletForJersey and RestServlet interfaces are different. Users need to choose the property machamism.