[英]NodeJS Vs Static HTML
I've a Java Rest API, and I'd like to implement a browser client. 我有一个Java Rest API,并且想实现一个浏览器客户端。 and I wonder which would be better and what are my trade offs in choosing between
我想知道哪种方法更好,在选择
NodeJS is designed for server side. NodeJS是为服务器端设计的。 If you got already a Java server side which provides REST API, I recommend you to call directly this API from static HTML files or another client... it will be faster than reload data passing by NodeJS modules.
如果您已经有了提供REST API的Java服务器端,我建议您直接从静态HTML文件或其他客户端调用此API ...比重新加载NodeJS模块传递的数据要快。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.