在Java EE应用服务器中执行JavaScript的一种解决方案

M. Vidaković, Stefan Cosic, Ognjen Cosic, I. Kastelan, Gordana S. Velikic
{"title":"在Java EE应用服务器中执行JavaScript的一种解决方案","authors":"M. Vidaković, Stefan Cosic, Ognjen Cosic, I. Kastelan, Gordana S. Velikic","doi":"10.1109/ZINC.2018.8448646","DOIUrl":null,"url":null,"abstract":"This paper describes one solution for execution of JavaScript code inside Java Enterprise Edition (Java EE) application servers. Since Java Virtual Machine (Java VM) is able to execute JavaScript code, it is possible to integrate JavaScript into Java EE. Instead ofimplementing JavaScript code in Node.js server, we have decided to integrate JavaScript inside Java EE environment. This way, it is possible to call other Java EE modules within JavaScript code, since it is now a part of the enterprise system. To achieve that goal, we have designed an architecture which introduces a Middleware as a link between Enterprise system and JavaScript code. We have also measured performance of three usual platforms for JavaScript execution and concluded that JavaScript inside Java VM is not significantly slower than the Node.js system.","PeriodicalId":366195,"journal":{"name":"2018 Zooming Innovation in Consumer Technologies Conference (ZINC)","volume":"90 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"One solution for execution of JavaScript in Java EE application servers\",\"authors\":\"M. Vidaković, Stefan Cosic, Ognjen Cosic, I. Kastelan, Gordana S. Velikic\",\"doi\":\"10.1109/ZINC.2018.8448646\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper describes one solution for execution of JavaScript code inside Java Enterprise Edition (Java EE) application servers. Since Java Virtual Machine (Java VM) is able to execute JavaScript code, it is possible to integrate JavaScript into Java EE. Instead ofimplementing JavaScript code in Node.js server, we have decided to integrate JavaScript inside Java EE environment. This way, it is possible to call other Java EE modules within JavaScript code, since it is now a part of the enterprise system. To achieve that goal, we have designed an architecture which introduces a Middleware as a link between Enterprise system and JavaScript code. We have also measured performance of three usual platforms for JavaScript execution and concluded that JavaScript inside Java VM is not significantly slower than the Node.js system.\",\"PeriodicalId\":366195,\"journal\":{\"name\":\"2018 Zooming Innovation in Consumer Technologies Conference (ZINC)\",\"volume\":\"90 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 Zooming Innovation in Consumer Technologies Conference (ZINC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ZINC.2018.8448646\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 Zooming Innovation in Consumer Technologies Conference (ZINC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ZINC.2018.8448646","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

本文描述了在Java Enterprise Edition (Java EE)应用服务器中执行JavaScript代码的一种解决方案。由于Java虚拟机(Java VM)能够执行JavaScript代码,因此可以将JavaScript集成到Java EE中。我们决定将JavaScript集成到Java EE环境中,而不是在Node.js服务器中实现JavaScript代码。这样,就可以在JavaScript代码中调用其他Java EE模块,因为它现在是企业系统的一部分。为了实现这个目标,我们设计了一个体系结构,它引入了一个中间件作为企业系统和JavaScript代码之间的链接。我们还测量了三种常见的JavaScript执行平台的性能,并得出结论,Java VM中的JavaScript并不比Node.js系统慢得多。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
One solution for execution of JavaScript in Java EE application servers
This paper describes one solution for execution of JavaScript code inside Java Enterprise Edition (Java EE) application servers. Since Java Virtual Machine (Java VM) is able to execute JavaScript code, it is possible to integrate JavaScript into Java EE. Instead ofimplementing JavaScript code in Node.js server, we have decided to integrate JavaScript inside Java EE environment. This way, it is possible to call other Java EE modules within JavaScript code, since it is now a part of the enterprise system. To achieve that goal, we have designed an architecture which introduces a Middleware as a link between Enterprise system and JavaScript code. We have also measured performance of three usual platforms for JavaScript execution and concluded that JavaScript inside Java VM is not significantly slower than the Node.js system.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信