DocumentCode
916721
Title
Distributed programming with typed events
Author
Eugster, Patrick T. ; Guerraoui, Rachid
Author_Institution
Sun Microsystems, Volketswil, Switzerland
Volume
21
Issue
2
fYear
2004
Firstpage
56
Lastpage
64
Abstract
The remote-procedure-call abstraction, including its derivates (underlying, for example, Java RMI, CORBA, and .NET), currently represents one of the most popular paradigms for devising distributed applications. Objects (when acting as servers) are invoked remotely (by clients) through proxies (also called stubs). Because proxies offer the same interfaces as their respective associated remote objects, they hide distribution details, leading to a convenient distributed-programming style that enforces type safety and encapsulation. However, RPC-style interaction does not apply equally well in all contexts. In its classic form, it tends to strongly synchronize-and hence couple-the invoking and invoked objects. Several proposed asynchronous variants of RPC illustrate the severity of this drawback. Type-based publish-subscribe is an appealing candidate programming abstraction for inherently decoupled and completely decentralized applications that run over large-scale and mobile networks. Like RPC, TPS enforces type safety and encapsulation; unlike RPC, it provides decoupling and scalability. To illustrate, we discuss two TPS implementations in Java.
Keywords
Java; distributed object management; remote procedure calls; CORBA; Java; Java RMI; NET; distributed programming; encapsulation; programming abstraction; remote-procedure-call abstraction; type safety; type-based publish-subscribe; typed events; Distributed computing; Filters; Finance; Java; Pattern matching; Publish-subscribe; Safety; Subscriptions; Sun; Telecommunication computing;
fLanguage
English
Journal_Title
Software, IEEE
Publisher
ieee
ISSN
0740-7459
Type
jour
DOI
10.1109/MS.2004.1270763
Filename
1270763
Link To Document