Skip to main content
CentiJ: An RMI Code Generator
Journal of Object Technology
  • Douglas A. Lyon, Fairfield University
Document Type
Article Version
Publisher's PDF
Publication Date
The CentiJ system synthesizes Java source code that funnels invocations through an RMI (Remote Method Invocation) based transport layer for distributed computation. The technique generates bridge pattern code (i.e., interfaces and proxies) that automate the creation of virtual proxies for message forwarding. We examine the tradeoffs between bridge implementations based on manual static delegation, automatic static delegation, and dynamic proxy classes. Advantages of the CentiJ technique include improved performance, type safety, transparency, predictability, flexibility and reliability. We then look at various methods for solving the disambiguation problem that arises when delegates have conflicting method signatures. Disambiguation can be automatic, semi-automatic or manual. CentiJ can automatically create a class that alters the interface to the bridge (using the adapter pattern).

Copyright 2002 Journal of Object Technology

Archived with permission from the copyright holder.

Published Citation
Douglas A. Lyon,"CentiJ: An RMI Code Generator." Journal of Object Technology 1, no. 5 (2002): 117-148.
Peer Reviewed
Citation Information
Douglas A. Lyon. "CentiJ: An RMI Code Generator" Journal of Object Technology Vol. 1 Iss. 5 (2002)
Available at: