Download PDFOpen PDF in browser

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

10 pagesPublished: October 23, 2018

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 here- after 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.

Keyphrases: java, jni, network simulation, omnet++, udp

In: Anna Förster, Asanga Udugama, Antonio Virdis and Giovanni Nardini (editors). Proceedings of the 5th International OMNeT++ Community Summit, vol 56, pages 1-10.

BibTeX entry
@inproceedings{OMNeT2018:jUDPWrapper_Lightweight_Approach_Access,
  author    = {Henning Puttnies and Peter Danielis and Leonard Thiele and Dirk Timmermann},
  title     = {jUDPWrapper: A Lightweight Approach to Access the OMNeT++/INET UDP Functionality from Java},
  booktitle = {Proceedings of the 5th International OMNeT++ Community Summit},
  editor    = {Anna Förster and Asanga Udugama and Antonio Virdis and Giovanni Nardini},
  series    = {EPiC Series in Computing},
  volume    = {56},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/G5pm},
  doi       = {10.29007/qs3k},
  pages     = {1-10},
  year      = {2018}}
Download PDFOpen PDF in browser