How To Set Up A SWIM-AI Application
SWIM.AI provides next-generation enterprises and developers software solutions for edge and streaming data. This is a unique product for edge/streaming data — software, which is lightweight, able to run anywhere — at the edge or in the cloud — enabling local data collection, reduction, analytics and delivers both data and insights to the cloud.
In this article, we will learn how to set up a simple SWIM server and client and how to connect them.
Requirements
- Java 1.8 or higher
- Gradle
- Nodejs
The Application
In this session, we will be setting up a very simple application with SWIM which will show real-time tweets from a specific hashtag.
Setup Server-Side
- On your project directory create the following files subdirectories
touch build.gradle mkdir -p src/main/java/app mkdir -p src/main/resources touch src/main/java/app/server.java touch src/main/java/app/twitterAgent.java touch src/main/resources/server.recon