Enhancing Java RMI with Asynchrony through Reflection
- 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
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.
KeywordsAsynchronous Communication Asynchronous RMI RMI Reflection parallel programming distributed programming
Unable to display preview. Download preview PDF.