Creating Service Interface

Feedback


This section we'll create a service interface based on the example in previous section, Creating a service provider, to build a complete and fully user-defined service interface.

The example in previous section,  Creating a service provider, has completed the following items:

 

Here we'll implement a custom service interface "TemperatureServlet" based on Servlet and publish the service component finished in previous section with this interface. Main contents: