Communications Infrastructure. Systems and Applications in Europe. First International ICST Conference, EuropeComm 2009, London, UK, August 11-13, 2009, Revised Selected Papers

Research Article

Enhancing Java RMI with Asynchrony through Reflection

Download
806 downloads
  • @INPROCEEDINGS{10.1007/978-3-642-11284-3_4,
        author={Orhan Akın and Nadia Erdoğan},
        title={Enhancing Java RMI with Asynchrony through Reflection},
        proceedings={Communications Infrastructure. Systems and Applications in Europe. First International ICST Conference, EuropeComm 2009, London, UK, August 11-13, 2009, Revised Selected Papers},
        proceedings_a={EUROPECOMM},
        year={2012},
        month={5},
        keywords={Asynchronous Communication Asynchronous RMI RMI Reflection parallel programming distributed programming},
        doi={10.1007/978-3-642-11284-3_4}
    }
    
  • Orhan Akın
    Nadia Erdoğan
    Year: 2012
    Enhancing Java RMI with Asynchrony through Reflection
    EUROPECOMM
    Springer
    DOI: 10.1007/978-3-642-11284-3_4
Orhan Akın1,*, Nadia Erdoğan1,*
  • 1: Istanbul Technical University
*Contact email: orhan@engineer.com, nerdogan@itu.edu.tr

Abstract

Java RMI’s synchronous invocation model may cause scalability challenges when long duration invocations are targeted. One way of overcoming this difficulty is adopting an mode of operation. An asynchronous invocation allows the client to continue with its computation after dispatching a call, thus eliminating the need to wait idle while its request is being processed by a remote server. This paper describes an execution framework which extends Java RMI functionality with asynchrony. It is implemented on top of RMI calls, using the thread pooling capability and the reflection mechanism of Java. It differs from previous work as it does not require any external tool, preprocessor, or compiler and it may be integrated with previously developed software as no modification of target remote objects is necessary.