ThingWorx Edge Java SDK
  
ThingWorx Edge Java SDK
This section of the ThingWorx Edge Help Center explains how to use the ThingWorx Edge Java SDK. In addition to a PDF of the ThingWorx Edge Java SDK Developer’s Guide, Javadoc is available in the SDK bundle.
The ThingWorx Edge Java SDK is designed for portability while making it easy to integrate applications into the ThingWorx distributed computing view of the Internet of Things (IoT). The goal of the SDK is to make it simple to connect any Java-enabled devices and/or systems to the ThingWorx platform. In addition, the SDK is designed to give developers enough flexibility to start simple and move quickly to creating highly sophisticated applications.
This SDK allows you to create an application for your machines/devices that communicates with the ThingWorx platform. The SDK uses the ThingWorx AlwaysOn protocol for communication. The AlwaysOn protocol is a binary protocol that uses the WebSocket protocol as its transport. This protocol allows persistent websocket connections that can operate through a firewall. The persistence enables two-way, low latency communication between the device and server.
The primary purpose of the SDK follows:
To establish and manage a secure, AlwaysOn connection with a ThingWorx platform.
To enable simple programmatic interaction with the properties, services, and events that are exposed by entities that exist on a ThingWorx platform.
To easily define properties and services that can be accessed from the ThingWorx platform.
Audience
This document assumes that you have a solid background in the Java programming language. Further, it assumes that you have had at least basic training in ThingWorx. For example, you know how to use ThingWorx Composer and understand the main concepts of Things, Data Shapes, Properties, Events, and Services.
Pre-requisites
For information about the version of the Java Development Kit supported by the ThingWorx Edge Java SDK, refer to the ThingWorx Edge Requirements and Compatibility Matrix document, which is available through the PTC ThingWorx Reference Documents page.