• DocumentCode
    2620938
  • Title

    Development Framework for Supporting Java NS2 Routing Protocols

  • Author

    Herberg, Ulrich ; Taylor, Ian

  • Author_Institution
    LIX, Ecole Polytech., Palaiseau, France
  • fYear
    2010
  • fDate
    21-23 May 2010
  • Firstpage
    1
  • Lastpage
    5
  • Abstract
    This paper presents a framework for developing and executing Java routing protocol implementations within the network simulator NS2. NS2 provides extensive support for developing C++ routing protocols, but has no Java support. In this paper, we describe extensions we have made to the AgentJ toolkit that enable routing protocols to be integrated directly into NS2 without needing to extend the internals of NS2 for each new protocol. The framework defines a reusable AgentJ routing protocol definition that can be used to register new protocols dynamically from within Java code. The actual routing protocol can then leverage the AgentJ toolkit for executing unmodified Java applications in NS2. By means of aspect-oriented byte-code rewriting, AgentJ allows preexisting Java routing protocols, which run on the Internet, to run unmodified within NS2. This powerful system also helps researchers to both understand high-level and algorithmic properties of a given Java routing protocol through the analysis of an NS2 simulation and to rapidly develop and debug new routing protocols through prototyping and experimentation.
  • Keywords
    C++ language; Internet; Java; aspect-oriented programming; rewriting systems; routing protocols; AgentJ routing protocol toolkit; C++ routing protocols; Internet; Java NS2 routing protocols; Java code; aspect-oriented byte code rewriting; network simulator; Analytical models; Computational modeling; Computer science; Computer simulation; Discrete event simulation; Internet; Java; Performance evaluation; Routing protocols; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Future Information Technology (FutureTech), 2010 5th International Conference on
  • Conference_Location
    Busan
  • Print_ISBN
    978-1-4244-6948-2
  • Type

    conf

  • DOI
    10.1109/FUTURETECH.2010.5482665
  • Filename
    5482665