Presentation given to the Object Management Group's MARS Task Force in September, 2010 about a proposal to improve the Java API for the OMG's Data Distribution Service (DDS). See also http://code.google.com/p/datadistrib4j/.
This presentation is obsoleted by a later one: http://www.slideshare.net/rickbwarren/java-psm-revisedsubmission2presentationmars20101222.
Benefits of “close” instead of factory method:
Familiar from java.io, javax.jms
Can’t get it wrong by using wrong factory
Write a normal-looking Java class with no DDS dependencies, then use it to pub and sub
Decision matrix:
* Need maximum performance? Want to share type definitions across languages? Generate code.
* Want maximum convenience? Working mostly in Java? Use this new Representation.