Enhancing Java RMI with Asynchrony through Reflection

  • Orhan Akın
  • Nadia Erdoğan
Conference paper

DOI: 10.1007/978-3-642-11284-3_4

Part of the Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering book series (LNICST, volume 16)
Cite this paper as:
Akın O., Erdoğan N. (2009) Enhancing Java RMI with Asynchrony through Reflection. In: Mehmood R., Cerqueira E., Piesiewicz R., Chlamtac I. (eds) Communications Infrastructure. Systems and Applications in Europe. EuropeComm 2009. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 16. Springer, Berlin, Heidelberg

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 asynchronous 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.

Keywords

Asynchronous Communication Asynchronous RMI RMI Reflection parallel programming distributed programming 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering 2009

Authors and Affiliations

  • Orhan Akın
    • 1
  • Nadia Erdoğan
    • 1
  1. 1.Computer Sciences, Informatics InstituteIstanbul Technical UniversityIstanbulTurkey

Personalised recommendations