XSJS Examples

In the article SAP HANA XSJS Service we explained
  • What is XSJS?
  • How to create an XSJS Service in HANA?
Now we will provide a list of examples in XSJS to make the concept clearer.

Example 1: HTTP Request Handling in XSJS
In this example, we will show how to parse HTTP request in XSJS service and how to get HTTP metadata.

Example 2: Session API in XSJS
This example shows How to get session details in XSJS service.

Example 3: Database Connectivity
In this example, you will see how to do database connectivity and execute SQL queries in XSJS service.

Example 4: XML Parser
This example shows how to parse XML in XSJS service.

Example 5: Zip Support in XSJS
This example shows how to create/read/process ZIP and GZIP archives in XSJS service.

If you want any specific example to be included in this list, please leave a comment.

Click here to go to Next Chapter. 4.3  HTTP Request Handling

1 comment: