The package includes two applications: a Web Services with JAX-RS client sample and a Lightweight Web Server for Java ME Embedded. This software is dual-licensed to you under the MIT License (MIT) and the Universal Permissive License (UPL). So it is easy to re-use the demo source code within your projects. For a full license text please read the license.txt file of the archive.
The IoT concept implies that field devices use a polling approach to connect to IoT cloud service. However, there are still a number of cases when direct access to the edge device is required, such as an initial appliance setup. The most convenient and user friendly way to configure system parameters remotely is via web access.
The Java ME Embedded development team have implemented a lightweight web server which is capable of handling HTTP requests and sending back HTTP responses. One of the key benefits of Java ME Embedded is the ability to run the same binary on different hardware, so that you can run this web server on any Java ME Embedded 8.2 device including Emulator.
The feature set of the server is really limited by basic functionality. The Web Server supports HTTP protocol of 1.1 and 1.0 with some limitations, explained in the webserver_readme.txt document. However, those limitations can be eliminated by extending the demo server, the demo distribution license is MIT so you can change the source code, or partly reuse it, within your projects.