SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Deploy and Test the Streaming Lite Custom Adapter

Learn how to deploy our Custom Java Adapter by creating a .jar file and transferring it to our Raspberry Pi, and to test it using the streamingsubscribe executable.

Overview

🎓 intermediate 15 min. SAP HANA Streaming AnalyticsIntermediateInternet Of ThingsSAP HANAExpress Edition

You will learn

  • How to deploy our Custom Java Adapter into a .jar file
  • How to transfer the .jar file to our Raspberry Pi
  • How to test our Custom Java Adapter by subscribing to the event streams
Robert Waywell R Robert Waywell January 15, 2025
Created by March 13, 2018
Contributors

Prerequisites

Steps

Step 1 Deploy the Adapter

After we have finished coding the adapter, we can go ahead and create a jar file.

Right click the project name in the Package Explorer and click "Export".

Export Custom Java Adapter
Export Custom Java Adapter

Choose Jar file, and click Next.

Select Jar File
Select Jar File

On the subsequent screen, make sure to check off only the "src" folder under "Select the resources to export".

Under “Select the export destination”, put our folder name (custom_java_adapter), and then the name of the jar file we want to create. We will be calling it "java_adapter_runnable.jar". Click Finish.

Jar File Specification
Jar File Specification

Connect to your Raspberry Pi using WinSCP.

Copy over the entire custom_java_adapter folder onto your Raspberry Pi, into the /home/pi directory

Copy Custom Java Adapter
Copy Custom Java Adapter

Step 2 Test the Adapter
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Deploy the Adapter 2. Test the Adapter

Learn more →