We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.
Java SDK Tutorial | Developer Portal : ThingWorx

Guide Concept

This project will introduce more complex aspects of the ThingWorx Java SDK and help you to get started with development.

Following the steps in this guide, you will develop your own IoT application with the ThingWorx Java SDK.

We will teach you how to use the Java programming language to connect and build IoT applications to be used with the ThingWorx Platform.

Guide Info

Level Intermediate
Est. Time 60 Minutes
Published March 21, 2019
Author Jason Johnson

You'll learn how to

    • Establish and manage a secure connection with a ThingWorx server, including SSL negotiation and connection maintenance.
    • Enable easy programmatic interaction with the Properties, Services, and Events that are exposed by Entities running on a ThingWorx server.
    • Create applications that can be directly used with your device running the Java programming language
    • Basic concepts of the Java Edge SDK
    • How to use the Java Edge API to build a real-world application
    • How to utilize resources provided in the Edge SDK to help create your own application
Register to Start Guide

Things used in this guide

Environment:

This guide requires a connection to the ThingWorx Foundation.

It assumes that you are utilizing the 30-day hosted Foundation server.

This guide could also be run through with the 120-day downloadable trial, but some instructions could require modification.

In order to complete this exercise, you need the following:

Completed Example: You are provided a complete example that can be utilized as a reference for completion as you go through the guide or for insight into how the following steps can be completed.

Software components:
Previous knowledge:

JAVA SDK TUTORIAL

Outline
  • Step 1: Completed Example
  • Step 2: Environment Setup
  • Step 3: Test Connectivity
  • Step 4: Run Sample Applications
  • Step 5: Example Client Connection
  • Step 6: Delivery Truck Model
  • Step 7: Services and Events
  • Step 8: File Transfer
  • Step 9: Troubleshooting
  • Step 10: Tunneling Example
  • Step 11: Next Steps