博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用HANA Web-based Development Workbench创建最简单的Server Side JavaScript
阅读量:4507 次
发布时间:2019-06-08

本文共 927 字,大约阅读时间需要 3 分钟。

服务器端的JavaScript, 看下wikipedia的介绍:

Server-side JavaScript

In December 1995, soon after releasing JavaScript for browsers, Netscape introduced an implementation of the language for server-side scripting with Netscape Enterprise Server.

Since 1996, the IIS web-server has supported Microsoft's implementation of server-side Javascript -- JScript -- in ASP and .NET pages.

Since the mid-2000s, additional server-side JavaScript implementations have been introduced, such as Node.js in 2009.

再看SAP的Server Side(服务器端) JavaScript解决方案:SAP Extended Application Service

打开SAP HANA Web-Based Development Workbench:
1240
创建一个新的package:
1240

1240

创建一个新的Application:
1240

1240

创建一个新的文件test.xsjs, 内容如下:

var userInput = $.request.parameters.get("userStuff");$.response.contentType = "text/html";$.response.setBody(userInput);

1240

这个hello world应用是一个简单的echo应用:将用户通过url传进来的数据直接输出。
测试:
1240

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码:

1240

1240

转载于:https://www.cnblogs.com/sap-jerry/p/9061886.html

你可能感兴趣的文章
密码学摘要算法之SHA2
查看>>
dealloc和weak底层实现
查看>>
【网络】Windows 下 socket 编程范例
查看>>
【IT】CRC校验码是怎么回事呢?
查看>>
hashmap C++实现
查看>>
C++深拷贝和浅拷贝细节理解
查看>>
云风协程库coroutine源码分析
查看>>
【漫谈数据仓库】 如何优雅地设计数据分层 ODS DW DM层级
查看>>
POJ - 2559 && POJ - 3494 (单调栈)
查看>>
POJ - 2796 Feel Good (单调栈)
查看>>
2019牛客暑期多校训练营(第一场合集)
查看>>
2019牛客暑期多校训练营(第二场合集)
查看>>
2019牛客暑期多校训练营(第四场合集)
查看>>
树的直径
查看>>
随机面试题
查看>>
git
查看>>
creat-react-app http升级为https出现的问题
查看>>
ES6 symbol
查看>>
vue 坑
查看>>
js手写call函数
查看>>