jUDPWrapper: A Lightweight Approach to Access the OMNeT++/INET UDP Functionality from Java

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.
jUDPWrapper:一种从Java访问omnet++ /INET UDP功能的轻量级方法
在设计阶段对网络系统进行评估的方法有三种:仿真、实际试验台和数学分析。在本文中,我们提出了jUDPWrapper,它允许使用omnet++的Java扩展从Java访问omnet++ /INET UDP功能。jUDPWrapper提供了一个基于套接字的API,与java.net包中定义的标准API相对应。因此,它能够在Java中开发应用层仿真模型,并在此之后轻松地派生出Java原型实现。因此,jUDPWrapper简化了使用仿真和实际测试平台对Java UDP应用程序的评估。我们使用两个不同版本的omnet++ /INET来评估jUDPWrapper,为omnet++ 5.4提供Java扩展,并首次量化Java模型与c++模型的执行时间。c++模型是近似的。在长时间的模拟运行中,如果使用发布模式,速度是Java模型的两倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信