H. Puttnies, P. Danielis, L. Thiele, D. Timmermann
{"title":"jUDPWrapper: A Lightweight Approach to Access the OMNeT++/INET UDP Functionality from Java","authors":"H. Puttnies, P. Danielis, L. Thiele, D. Timmermann","doi":"10.29007/qs3k","DOIUrl":null,"url":null,"abstract":"There are three methods to evaluate networked systems during the design phase: by means of simulation, a practical testbed, and mathematical analysis. In this paper, we propose the jUDPWrapper, which enables to access the OMNeT++/INET UDP functionality from Java using the Java Extensions for OMNeT++. The jUDPWrapper provides a socket-based API corresponding to the standard API defined in the java.net package. Consequently, it enables to develop application layer simulation models in Java and hereafter easily derive a Java prototype implementation. Therefore, the jUDPWrapper eases the evaluation of Java UDP applications using both simulation and practical testbed. We evaluate the jUDPWrapper using two distinct versions of OMNeT++/INET, provide the Java Extensions for OMNeT++ 5.4, and for the first time quantify the execution time of Java models versus C++ models. C++ models are approx. twice as fast as Java models in long simulation runs, if the release mode is used.","PeriodicalId":159293,"journal":{"name":"OMNeT++ Community Summit","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"OMNeT++ Community Summit","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.29007/qs3k","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
There are three methods to evaluate networked systems during the design phase: by means of simulation, a practical testbed, and mathematical analysis. In this paper, we propose the jUDPWrapper, which enables to access the OMNeT++/INET UDP functionality from Java using the Java Extensions for OMNeT++. The jUDPWrapper provides a socket-based API corresponding to the standard API defined in the java.net package. Consequently, it enables to develop application layer simulation models in Java and hereafter easily derive a Java prototype implementation. Therefore, the jUDPWrapper eases the evaluation of Java UDP applications using both simulation and practical testbed. We evaluate the jUDPWrapper using two distinct versions of OMNeT++/INET, provide the Java Extensions for OMNeT++ 5.4, and for the first time quantify the execution time of Java models versus C++ models. C++ models are approx. twice as fast as Java models in long simulation runs, if the release mode is used.