Skip to Content
author's profile photo Former Member
Former Member

Node.js vs xsjs inside HANA XSA


I am trying out some apps [both xsapps and node apps] and I wanted some basics clarified:-

1) What is the difference between XSJS and NodeJS?

2) What scenario best suits usage of each(I understand that there might be varied parameters,any documentation or example would be good enough).

3) Capabilities difference with HANA systems - How well both integrate to the HANA environment

I might come up with more questions as I proceed.

Appreciate any help.


Deepak Kumar Sahu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 21, 2016 at 12:26 PM

    XSJS and Node.js aren't all that different. XSJS runs within Node.js but forces synchronous processing using Node Fibers.

    This offers a simplified programming model compared Node.js' Asynchronous Non-Blocking I/O programming model. It also is what allows backwards compatibility to running XSJS code from XS Classic.

    SAP HANA SPS 11: New Developer Features; XS Advanced

    SAP HANA SPS 11: New Developer Features; Node.js

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.