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}
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.