Issue No. 02 - March/April (2004 vol. 21)
Patrick T. Eugster , Sun Microsystems
Rachid Guerraoui , Ecole Polytechnique Federale de Lausanne
<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
R. Guerraoui and P. T. Eugster, "Distributed Programming with Typed Events," in IEEE Software, vol. 21, no. , pp. 56-64, 2004.