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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Sun Microsystems, Inc. Java (TM) Remote Method Invocation Specification (2004)
Tanenbaum, A.S., Van Steen, M.: Distributed Systems: Principles and Paradigms. Pearson-Prentice Hall, ISBN:0-13-239227-5
Voelter, M., Kircher, M., Zdun, U., Englbrecht, M.: Patterns for Asynchronous Invocation in Distributed Object Frameworks. In: The 8th European Conference on Pattern Languages of Programs (EuroPlop 2003), Irsee, Germany, pp. 269–284 (2003)
Raje, R., William, J.I., Boyles, M.: An Asynchronous Remote Method Invocation (ARMI) Mechanism for Java. In: ACM 1997 Workshop on Java for Science and Eng. Comp. (1997)
Thiruvathukal, G.K., Thomas, L.S., Korczynski, A.T.: Reflective Remote Method Invocation. Concurrency: Practice and Experience 10(11-13), 911–926 (1998)
Welsh, M.: Ninja RMI: A Free Java RMI (1999), http://www.cs.berkeley.edu/~mdw/proj/ninja/ninjarmi.html
Izatt, M., Chan, P., Brecht, T.: Ajents: Towards an Environment for Parallel, Distributed and Mobile Java Applications. Concurrency: Pract. & Exper. 12, 667–685 (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
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. https://doi.org/10.1007/978-3-642-11284-3_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-11284-3_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-11283-6
Online ISBN: 978-3-642-11284-3
eBook Packages: Computer ScienceComputer Science (R0)