DeviceHive: M2M Framework Built on Java EE7

20 September 2013
By Anton Krasikov, Senior Software Architect

DataArt’s embedded development center of competence has recently launched DeviceHive developed in Java with the aspiration to meet the needs of the huge open-source community. Previously, this framework was available only for .NET and MSSQL, meanwhile JAVA version was highly demanded.

DeviceHive is an open source Machine to Machine (M2M) framework designed to enable messaging between smart devices and client applications. DeviceHive is a set of cloud services, protocols, device and client libraries, as well as documentation and samples that help you to easily establish connectivity in any project that involves embedded systems talking to other systems: clean tech, smart home, remote sensors, telemetry, automation, etc.

The framework is built on the Java EE 7 platform and its reference implementation GlassFish 4, which was going through late beta testing at the time when the DeviceHive Java server development was about to start. The reasons were rather simple – we needed to provide both RESTful and WebSockets APIs, and both of them are available in the new Java EE 7 stack. We also had to introduce several additional modules based on the GSON library for JSON mapping of Java objects and opted for Hibernate instead of EclipseLink, bundled with the Java EE 7 platform reference implementation.

The overall result proved that the latest and greatest enterprise Java stack is suitable for serious development.

The Java version of DeviceHive server is fully compatible with the API version 1.2 supported by our existing .NET server implementation. All products which are currently using the .NET DeviceHive version can now be run with the Java version. To start using the new DeviceHive Java server, download the latest release from GitHub and follow the instructions.

Tags: ,


Add Comment

Name Mail Website Comment