How To Set Up A SWIM-AI Application

Serverless Guru
Serverless Guru
Published in
6 min readSep 15, 2020

--

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

  1. 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

--

--

Serverless Guru
Serverless Guru

We can help you migrate to serverless, build serverless applications, and train your team on serverless best practices. https://www.serverlessguru.com