This Article 
 Bibliographic References 
 Add to: 
Distributed Programming with Typed Events
March/April 2004 (vol. 21 no. 2)
pp. 56-64
Patrick T. Eugster, Sun Microsystems
Rachid Guerraoui, Ecole Polytechnique Federale de Lausanne

Whereas the remote-procedure-call (RPC) abstraction, including its derivates such as remote method invocation, has proven to be an adequate programming paradigm for client-server applications over LANs, type-based publish-subscribe (TPS) is an appealing candidate programming abstraction for decoupled and completely decentralized applications that run over large-scale and mobile networks. TPS enforces type safety and encapsulation (just like RPC) while providing decoupling and scalability properties (unlike RPC).

Two TPS implementations in Java demonstrate this approach?s potential. The first is a seminal approach relying on specific primitives added to the Java language. The second is a library implementation based on more general recent Java mechanisms, avoiding any specific compilation.

Index Terms:
Distributed programming, publish-subscribe, events, type safety, Java
Patrick T. Eugster, Rachid Guerraoui, "Distributed Programming with Typed Events," IEEE Software, vol. 21, no. 2, pp. 56-64, March-April 2004, doi:10.1109/MS.2004.1270763
Usage of this product signifies your acceptance of the Terms of Use.