Document Type

Article

Article Version

Publisher's PDF

Publication Date

2002

Abstract

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

Comments

Copyright 2002 Journal of Object Technology

Archived with permission from the copyright holder.

Publication Title

Journal of Object Technology

Published Citation

Douglas A. Lyon,"CentiJ: An RMI Code Generator." Journal of Object Technology 1, no. 5 (2002): 117-148.

Peer Reviewed

Share

COinS