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

Set Up the Eclipse Project for Streaming Lite Custom Java Adapter

Configure the development environment to create a Custom Java Adapter for our Streaming Lite project by copying required files from the SAP HANA system.

Overview

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

You will learn

  • โœ”How to copy over the Java SDK files required from our HANA system to HANA Studio/Eclipse
  • โœ”How to prepare the HANA Studio for Custom Java Adapter development
Robert Waywell R Robert Waywell January 15, 2025
Created by March 13, 2018
Contributors

Prerequisites

Steps

Next Steps

Time to Complete

15 Min


Step 1 Copy Over Java SDK Files
โ€”

  1. Create a folder on your computer to contain your project files. We will call our folder "custom_java_adapter"

  2. Connect to your SAP HANA system in WinSCP, and navigate to the directory /hana/shared/<sid>/streaming-<Version>/STREAMING-2_0. This is the Streaming Analytics installation folder, and its path is defined in $STREAMING_HOME

> Don't forget to replace `<sid>` with your HANA System id and <Version> with your Streaming Analytics instance version
  1. Copy over the "libj" folder into your "custom_java_adapter" folder. These are Java SDK files required to build our custom Java Adapter.
![Move Java SDK Files](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/hsa-lite-custom-java-adapter-part2/moveJavaSDKLibj.png)

For the question below, select the correct answer, and click Validate.

Step 2 Create a new Java Project
+
Step 3 Create a new Source Folder
+
Step 4 Create a new Java Class
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Copy Over Java SDK Files 2. Create a new Java Project 3. Create a new Source Folder 4. Create a new Java Class

Learn more →