Skip to main content

Enhancing Java RMI with Asynchrony through Reflection

  • Conference paper
Communications Infrastructure. Systems and Applications in Europe (EuropeComm 2009)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Sun Microsystems, Inc. Java (TM) Remote Method Invocation Specification (2004)

    Google Scholar 

  2. Tanenbaum, A.S., Van Steen, M.: Distributed Systems: Principles and Paradigms. Pearson-Prentice Hall, ISBN:0-13-239227-5

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Thiruvathukal, G.K., Thomas, L.S., Korczynski, A.T.: Reflective Remote Method Invocation. Concurrency: Practice and Experience 10(11-13), 911–926 (1998)

    Article  Google Scholar 

  6. Welsh, M.: Ninja RMI: A Free Java RMI (1999), http://www.cs.berkeley.edu/~mdw/proj/ninja/ninjarmi.html

  7. Izatt, M., Chan, P., Brecht, T.: Ajents: Towards an Environment for Parallel, Distributed and Mobile Java Applications. Concurrency: Pract. & Exper. 12, 667–685 (2000)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics