cancel
Showing results for 
Search instead for 
Did you mean: 

Node.js vs xsjs inside HANA XSA

Former Member
0 Kudos

Hi,

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.

Thanks,

Deepak Kumar Sahu

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate

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

https://github.com/laverdet/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.

Answers (0)