{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T10:04:47Z","timestamp":1791194687760,"version":"4.1.0"},"reference-count":93,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2007,1]]},"abstract":"<jats:p>\n            A continuously increasing number of interconnected computer devices makes the requirement for programming abstractions for remote one-to-many interaction yet more stringent. The publish\/subscribe paradigm has been advocated as a candidate abstraction for such one-to-many interaction at large scale. Common practices in publish\/subscribe, however, include low-level abstractions which hardly leverage type safety, and provide only poor support for object encapsulation. This tends to put additional burden on software developers; guarantees such as the aforementioned type safety and object encapsulation become of increasing importance with an accrued number of software components, which modern applications also involve, besides an increasing number of hardware components.\n            <jats:italic>Type-based<\/jats:italic>\n            publish\/subscribe (TPS) is a high-level variant of the publish\/subscribe paradigm which aims precisely at providing guarantees such as type safety and encapsulation. We present the rationale and principles underlying TPS, as well as two implementations in Java: the first based on a specific extension of the Java language, and a second novel implementation making use of recent general-purpose features of Java, such as generics and behavioral reflection. We compare the two approaches, thereby evaluating the aforementioned features---as well as additional features which have been included in the most recent Java 1.5 release---in the context of distributed and concurrent programming. We discuss the benefits of alternative programming languages and features for implementing TPS. By revisiting alternative abstractions for distributed programming, including \u201cclassic\u201d and recent ones, we extend our investigations to programming language support for distributed programming in general, pointing out that overall, the support in current mainstream programming languages is still insufficient.\n          <\/jats:p>","DOI":"10.1145\/1180475.1180481","type":"journal-article","created":{"date-parts":[[2007,4,5]],"date-time":"2007-04-05T19:20:08Z","timestamp":1175800808000},"page":"6","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":52,"title":["Type-based publish\/subscribe"],"prefix":"10.1145","volume":"29","author":[{"given":"Patrick","family":"Eugster","sequence":"first","affiliation":[{"name":"Purdue University, West Lafayette, IN"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2007,1]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"crossref","unstructured":"Agha G. 1985. Actors: A model of concurrent computation in distributed systems. Ph.D. thesis University of Michigan Computer and Communication Science.]]   Agha G. 1985. Actors: A model of concurrent computation in distributed systems. Ph.D. thesis University of Michigan Computer and Communication Science.]]","DOI":"10.7551\/mitpress\/1086.001.0001"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/343477.343620"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/301308.301326"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the 7th European Conference on Object-Oriented Programming (ECOOP). 152--184","author":"Aksit M."},{"key":"e_1_2_1_5_1","volume-title":"Proceedings of the International Workshop on Reliable Middleware Systems of the 13th IEEE Symposium On Reliable Distributed Systems (SRDS). 43--53","author":"Altherr M."},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the International Workshop on Distributed Event-based Systems (DEBS).]]","author":"Araujo F."},{"key":"e_1_2_1_7_1","unstructured":"Armstrong J. Virding R. Wikstr\u00f6m C. and Williams M. 1996. Concurrent Programming in Erlang 2nd ed. Prentice-Hall Upper Saddle River NJ.]]   Armstrong J. Virding R. Wikstr\u00f6m C. and Williams M. 1996. Concurrent Programming in Erlang 2nd ed. Prentice-Hall Upper Saddle River NJ.]]"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/2.825698"},{"key":"e_1_2_1_9_1","volume-title":"Proceedings of the 22th IEEE International Conference on Distributed Computing Systems (ICDCS). 355--362","author":"Baehni S."},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 5th IEEE International Conference on Dependable Systems and Networks (DSN). 233--242","author":"Baehni S."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/850929.851975"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1018203.1018205"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/163298.163303"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/97945.97982"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/286936.286957"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the 3rd European Conference on Object-Oriented Programming (ECOOP). 109--129","author":"Briot J.-P.","year":"1989"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the 11th European Conference on Object-Oriented Programming (ECOOP). 104--127","author":"Bruce K."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.5555\/646153.758675"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/99370.99392"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199516"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/75277.75295"},{"key":"e_1_2_1_23_1","volume-title":"International Conference on Foundations of Software Science and Computation Structures (FOSSACS). 140--155","author":"Cardelli L."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/162685.162711"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/343477.343622"},{"key":"e_1_2_1_27_1","volume-title":"Mobile Object Systems: Towards the Programmable Internet. Lecture Notes in Computer Sceince","volume":"1222","author":"Ciancarini P."},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the 24th IEEE International Conference on Distributed Computing Systems (ICDCS). 244--251","author":"Damm C."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094855.1094867"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpdc.2004.11.008"},{"key":"e_1_2_1_31_1","unstructured":"Ellis M. and Stroustrup B. 1992. The Annotated C&plus;&plus; Reference Manual. Addison-Wesley Reading MA.]]   Ellis M. and Stroustrup B. 1992. The Annotated C&plus;&plus; Reference Manual. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_32_1","volume-title":"Tech. Rep. TM-552","author":"Engler D.","year":"1996"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167473.1167485"},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 26th International Conference on Software Engineering (ICSE). 347--356","author":"Eugster P."},{"key":"e_1_2_1_35_1","volume-title":"Proceedings of the International Workshop on Distributed Event-Based Systems (DEBS). 625--630","author":"Eugster P."},{"key":"e_1_2_1_36_1","volume-title":"Proceedings of the 6th Usenix Conference on Object-Oriented Technologies and Systems (COOTS). 131--146","author":"Eugster P."},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of the 3rd IEEE International Conference on Dependable Systems and Networks (DSN). 313--323","author":"Eugster P."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/504282.504301"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/945506.945507"},{"key":"e_1_2_1_40_1","volume-title":"Proceedings of the 14th European Conference on Object-Oriented Programming (ECOOP). 252--276","author":"Eugster P."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3149.214121"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/237721.237805"},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the 8th International Conference on Concurrency Theory (CONCUR). 196--212","author":"Fournet C."},{"key":"e_1_2_1_44_1","unstructured":"Freeman E. Hupfer S. and Arnold K. 1999. JavaSpaces Principles Patterns and Practice. Addison-Wesley Reading MA.]]   Freeman E. Hupfer S. and Arnold K. 1999. JavaSpaces Principles Patterns and Practice. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_45_1","unstructured":"Gamma E. Helm R. Johnson R. and Vlissides J. 1995. Design Patterns Elements of Reusable Object-Oriented Software. Addison-Wesley Reading MA.]]   Gamma E. Helm R. Johnson R. and Vlissides J. 1995. Design Patterns Elements of Reusable Object-Oriented Software. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/2363.2433"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/129630.129635"},{"key":"e_1_2_1_48_1","unstructured":"Goldberg A. and Robson A. 1983. Smalltalk-80: The Language and Its Implementation. Addison-Wesley Reading MA.]]   Goldberg A. and Robson A. 1983. Smalltalk-80: The Language and Its Implementation. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_49_1","unstructured":"Gosling J. Joy B. Steele G. and Bracha G. 2000. The Java Language Specification 2nd ed. Addison-Wesley Reading MA.]]   Gosling J. Joy B. Steele G. and Bracha G. 2000. The Java Language Specification 2nd ed. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_50_1","volume-title":"Proceedings of the 14th European Conference on Object-Oriented Programming (ECOOP). 226--250","author":"Gregono P."},{"key":"e_1_2_1_51_1","volume-title":"the 2nd International Conference on Multiparadigm Programming in Mozart\/Oz (MOZ). 149--160","author":"Grolaux D."},{"key":"e_1_2_1_52_1","volume-title":"Proceedings of the 5th IEEE International Symposium on Software Engineering for Parallel and Distributed Systems (PDSE). 83--92","author":"Haahr M."},{"key":"e_1_2_1_53_1","unstructured":"Happner M. Burridge R. and Sharma R. 2002. Java message service. Tech. Rep. Sun Microsystems Inc. Mar.]]  Happner M. Burridge R. and Sharma R. 2002. Java message service. Tech. Rep. Sun Microsystems Inc. Mar.]]"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/263698.263734"},{"key":"e_1_2_1_55_1","volume-title":"the 2nd International Conference on Multiparadigm Programming in Mozart\/Oz (MOZ). 137--148","author":"Havelka D."},{"key":"e_1_2_1_56_1","unstructured":"Hejlsberg A. and Wiltamuth S. 2001. C&num; Language Specification. Microsoft Press Redmond WA.]]   Hejlsberg A. and Wiltamuth S. 2001. C&num; Language Specification. Microsoft Press Redmond WA.]]"},{"key":"e_1_2_1_57_1","first-page":"6","article-title":"ACT&plus;&plus;: A class library for concurrent program. in C&plus;&plus; using actors","volume":"6","author":"Kafura D.","year":"1993","journal-title":"J. Object Oriented Program."},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378797"},{"key":"e_1_2_1_59_1","first-page":"3","article-title":"Messages vs objects for application integration","volume":"2","author":"Koenig P.","year":"1999","journal-title":"Distrib. Comput."},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.469456"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/28697.28718"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/42392.42399"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/155360.155367"},{"key":"e_1_2_1_64_1","first-page":"2","article-title":"GEM: A generalized event monitoring language for distributed systems","volume":"4","author":"Mansouri-Samani M.","year":"1997","journal-title":"Distrib. Syst. Eng."},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1109\/2.161279"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.5555\/129093"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1145\/162685.162705"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(78)90014-4"},{"key":"e_1_2_1_69_1","unstructured":"Milner R. 1999. Communicating and Mobile Systems: The &pi;-Calculus. Cambridge University Press New York.]]   Milner R. 1999. Communicating and Mobile Systems: The &pi;-Calculus. Cambridge University Press New York.]]"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(86)90006-X"},{"key":"e_1_2_1_71_1","unstructured":"Oberg R. 2000. Understanding and Programming COM&plus;. Prentice Hall Upper Saddle River NJ.]]   Oberg R. 2000. Understanding and Programming COM&plus;. Prentice Hall Upper Saddle River NJ.]]"},{"key":"e_1_2_1_72_1","doi-asserted-by":"publisher","DOI":"10.1145\/168619.168624"},{"key":"e_1_2_1_73_1","unstructured":"OMG. 2000. Notification Service Standalone Document. OMG.]]  OMG. 2000. Notification Service Standalone Document. OMG.]]"},{"key":"e_1_2_1_74_1","unstructured":"OMG. 2001a. The Common Object Request Broker: Architecture and Specification Chapter Value Type Semantics. OMG.]]  OMG. 2001a. The Common Object Request Broker: Architecture and Specification Chapter Value Type Semantics. OMG.]]"},{"key":"e_1_2_1_75_1","unstructured":"OMG. 2001b. Event service. In CORBAservices: Common Object Services Specification. OMG.]]  OMG. 2001b. Event service. In CORBAservices: Common Object Services Specification. OMG.]]"},{"key":"e_1_2_1_76_1","unstructured":"OMG. 2002. The Common Object Request Broker: Architecture and Specification Version 3.0. OMG.]]  OMG. 2002. The Common Object Request Broker: Architecture and Specification Version 3.0. OMG.]]"},{"key":"e_1_2_1_77_1","unstructured":"OMG. 2003. Data Distribution Service for Real Time Systems Specification. OMG.]]  OMG. 2003. Data Distribution Service for Real Time Systems Specification. OMG.]]"},{"key":"e_1_2_1_78_1","volume-title":"Proceedings of the 3rd IFIP\/ACM International Conference on Distributed Systems Platforms and Open Distributed Processing (Middleware). 185--207","author":"Opyrchal L."},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","DOI":"10.1145\/571157.571159"},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1145\/227210.227225"},{"key":"e_1_2_1_81_1","doi-asserted-by":"publisher","DOI":"10.1145\/1028976.1028994"},{"key":"e_1_2_1_82_1","volume-title":"Proceedings of the 1st International Conference on Metalevel Architectures and Reflection (Reflection). 21--38","author":"Rivard F.","year":"1996"},{"key":"e_1_2_1_83_1","unstructured":"Rosenberry W. Kenney D. and Fisher G. 1993. OSF Distributed Computing Environment: Understanding DCE. O'Reilly Sebastopol CA.]]   Rosenberry W. Kenney D. and Fisher G. 1993. OSF Distributed Computing Environment: Understanding DCE. O'Reilly Sebastopol CA.]]"},{"key":"e_1_2_1_84_1","doi-asserted-by":"publisher","DOI":"10.1145\/286936.286959"},{"key":"e_1_2_1_85_1","doi-asserted-by":"crossref","unstructured":"Srinivasan R. 1995. RFC 1831: Remote procedure call protocol specification version 2. Tech. rep. Sun Microsystems Inc. Aug.]]   Srinivasan R. 1995. RFC 1831: Remote procedure call protocol specification version 2. Tech. rep. Sun Microsystems Inc. Aug.]]","DOI":"10.17487\/rfc1831"},{"key":"e_1_2_1_86_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010085415024"},{"key":"e_1_2_1_87_1","unstructured":"Sun. 2005. Core Java J2SE 5.0. Sun Microsystems Inc. http:\/\/java.sun.com\/j2se\/1.5.0\/.]]  Sun. 2005. Core Java J2SE 5.0. Sun Microsystems Inc. http:\/\/java.sun.com\/j2se\/1.5.0\/.]]"},{"key":"e_1_2_1_88_1","doi-asserted-by":"publisher","DOI":"10.1145\/258948.258990"},{"key":"e_1_2_1_89_1","unstructured":"Talarian Corporation. 1999. Everything you need to know about Middleware: Mission-Critical interprocess communication (white paper). Talarian Corporation http:\/\/www.talarian.com\/.]]  Talarian Corporation. 1999. Everything you need to know about Middleware: Mission-Critical interprocess communication (white paper). Talarian Corporation http:\/\/www.talarian.com\/.]]"},{"key":"e_1_2_1_90_1","unstructured":"Thai T. and Lam H. 2001. .NET Framework Essentials. O'Reilly Sebastopol CA.]]   Thai T. and Lam H. 2001. .NET Framework Essentials. O'Reilly Sebastopol CA.]]"},{"key":"e_1_2_1_91_1","doi-asserted-by":"publisher","DOI":"10.5381\/jot.2004.3.5.c1"},{"key":"e_1_2_1_92_1","unstructured":"TIBCO. 1999. TIB\/Rendezvous white paper. TIBCO Inc. http:\/\/www.rv.tibco.com\/.]]  TIBCO. 1999. TIB\/Rendezvous white paper. TIBCO Inc. http:\/\/www.rv.tibco.com\/.]]"},{"key":"e_1_2_1_93_1","doi-asserted-by":"publisher","DOI":"10.1145\/360204.360214"},{"key":"e_1_2_1_94_1","doi-asserted-by":"crossref","unstructured":"Yonezawa A. Shibayama E. Takada T. and Honda Y. 1987. 4: Modeling and programming in an object-oriented concurrent language abcl\/1. In Object-Oriented Concurrent Programming. MIT Press Cambridge MA. 55--89.]]   Yonezawa A. Shibayama E. Takada T. and Honda Y. 1987. 4: Modeling and programming in an object-oriented concurrent language abcl\/1. In Object-Oriented Concurrent Programming. MIT Press Cambridge MA. 55--89.]]","DOI":"10.1145\/28697.28722"},{"key":"e_1_2_1_95_1","volume-title":"ECOOP Workshop on Multiparadigm Programming with Object-Oriented Languages.]]","author":"Zenger M."}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1180475.1180481","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T20:27:18Z","timestamp":1672259238000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1180475.1180481"}},"subtitle":["Concepts and experiences"],"short-title":[],"issued":{"date-parts":[[2007,1]]},"references-count":93,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2007,1]]}},"alternative-id":["10.1145\/1180475.1180481"],"URL":"https:\/\/doi.org\/10.1145\/1180475.1180481","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2007,1]]},"assertion":[{"value":"2007-01-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}