M. Vidaković, Stefan Cosic, Ognjen Cosic, I. Kastelan, Gordana S. Velikic
{"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}
引用次数: 3
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.