The Community for Technology Leaders
Green Image
Issue No. 02 - March/April (2004 vol. 21)
ISSN: 0740-7459
pp: 56-64
Rachid Guerraoui , Ecole Polytechnique Federale de Lausanne
Patrick T. Eugster , Sun Microsystems
<p>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).</p><p>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.</p>
Distributed programming, publish-subscribe, events, type safety, Java
Rachid Guerraoui, Patrick T. Eugster, "Distributed Programming with Typed Events", IEEE Software, vol. 21, no. , pp. 56-64, March/April 2004, doi:10.1109/MS.2004.1270763
114 ms
(Ver 3.1 (10032016))