JxActinium
Filippo Battaglia, Giancarlo Iannizzotto, Lucia Lo Bello · 2016
In the Representational State Transfer (REST) paradigm, which is commonly adopted in the IoT field, all the operations are performed on resources addressed by a URI. In order to simplify the deployment of REST-ful architectures, the Actinium runtime container, which allows remote clients to load, unload and run REST-ful applications written in JavaScript (JS), was recently proposed. However, Actinium is based on the Constrained Application Protocol (CoAP) over the User Datagram Protocol (UDP) and inherits the limitations of both of them. For example, on hybrid networks made up of multiple subnets based on different transport protocols, CoAP requires proprietary solutions, such as http-to-coap gateways or border-routers to deliver packets across the different subnetworks. Moreover, CoAP lacks of support for secure group communications. This paper proposes JxActinium, a novel implementation of CoAP devised to work over the JXTA P2P protocol proposed by Sun Microsystem. JxActinium not only supports hybrid networks, but also allows to create nested networks in which some JS services are reserved only to the peers belonging to a given secure peergroup.