Proposed Java 5 API for DDS

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Proposed Java 5 API for DDS - Presentation Transcript

    1. Proposed RFP: Java 5(+) PSM for DDS Rick Warren, RTI [email_address] document number: 2009-09-09
    2. Introduction Summary & Conclusion
      • Java is a mature platform
        • Established conventions, design patterns
        • Emphasis on portability, safety, manageability
      • Java is an important DDS platform
        • Many of largest, most sophisticated users use it
        • … often alongside other language(s)
      • A vibrant ecosystem requires portability
        • At runtime
        • Across DDS implementations
      • IDL-based DDS Java API does not reflect / support these
        • Doesn’t look, work like most other Java code
        • Requires frequent memory allocation
        • Not portable across implementations
      • Observation : JMS does reflect / support these
      © 2009 RTI - All rights Reserved
    3. Introduction Goals
      • Improve robustness
        • … by improving type safety
        • ( e.g. with generic types, first-class enumerations)
        • … by streamlining error handling
        • ( e.g. with appropriate exceptions)
      • Increase performance
        • … by improving memory loan API
      • Simplify integration, flatten learning curve
        • … by following Java conventions / best practices
        • ( e.g . naming, organization, design patterns)
        • … by leveraging built-in capabilities
        • ( e.g. enumerations, collections, beans, serialization, run-time type safety)
      • Grow the DDS ecosystem
        • … by improving portability
        • … by providing clarity wrt other technologies
        • … by increasing credibility , which comes from all of the above
      © 2009 RTI - All rights Reserved
    4. Introduction Not the Goals
      • Define new middleware concepts or protocols: this is about DDS / RTPS
      • Invalidate the existing IDL PSM: don’t break existing implementations, applications
      • Improve / replace the IDL  Java language mapping: won’t solve the aforementioned problems
      • Eliminate / discredit JMS:
      • Entangle ourselves with the JCP: JCP owns Java distros, acts slowly, imposes high bar
      © 2009 RTI - All rights Reserved
    5. Introduction What Do We Mean by Java 5?
      • Java Language , versions 5 and later
      • Modern language features
        • Generic types
        • First-class, type-safe enumerations
        • Annotations
      • Rich standard libraries
        • Improved wide character support
        • Built-in JMX
        • Comprehensive collections ( since Java 1.2, improved in Java 5 )
        • Built-in serialization ( since Java 1.1 )
        • Reflection, Java Beans ( since Java 1.1, improved Java 1.4 )
      © 2009 RTI - All rights Reserved
    6. Mandatory Requirements Motherhood?
      • The proposed PSM shall :
      • Be derived from the DDS PIM
      • Implement DDS PIM in its entirety, be semantically equivalent to DDS IDL PSM
      • Have no impact on interoperability
        • Two communicating applications shall not require any awareness of each other’s PSMs
      • Avoid introducing new container types (like lists and strings)
      © 2009 RTI - All rights Reserved
    7. Mandatory Requirements Portability
      • The proposed PSM shall :
      • Support runtime portability between implementations
        • Application compiled against proposed APIs shall be able to run against any conformant DDS implementation
      • For example , here’s how apps use JMS:
        • At compile time : use standard javax.jms interfaces
        • At run time : system property locates implementation classes
        • This standard of portability defines user expectations
      © 2009 RTI - All rights Reserved
    8. Optional Requirements Built-in Serialization
      • The proposed PSM may :
      • Define how to leverage Java’s built-in data serialization
      • Could be as simple as:
      • public class DataReaderQos implements java.io.Serializable { … }
      • Or more sophisticated, like:
      • java.io.ObjectInput in = myDataReader.toInputStream();
      • Object sample = in.readObject();
      © 2009 RTI - All rights Reserved
    9. Optional Requirements Java Management Extensions (JMX)
      • The proposed PSM may :
      • Integrate DDS QoS configuration with JMX
      • Integrate DDS status notifications with JMX
      • Potential Benefit : Help users to:
      • Plug into existing management tools, frameworks
      • Manage DDS-based systems remotely
      © 2009 RTI - All rights Reserved
    10. Optional Requirements Other Optional Requirements
      • The proposed PSM may :
      • Comply with Java Beans design patterns to provide richer type introspection
        • … or take advantage of reflection in more novel ways
      • Integrate with OSGi : Easily plug into Eclipse and other OSGi-based containers
      © 2009 RTI - All rights Reserved
    11. Issues to Be Discussed Motherhood?
      • Discuss the implications of the proposal for:
      • Performance
      • Object lifecycle
      • Memory usage
      • Subsequent Java versions (6 and 7)
      © 2009 RTI - All rights Reserved
    12. Issues to Be Discussed Relationships Among Technologies
      • Discuss the relationships of the proposal to:
      • DDS PIM conventions vs. Java conventions
      • Implementation-specific extensions / technologies
      • Java editions: SE, EE, ME
      • Existing standard CORBA APIs ( org.omg.CORBA in Java SE)
      • Existing standard JMS APIs ( javax.jms in Java EE)
      © 2009 RTI - All rights Reserved
    13. Conclusion (Redux)
      • Provide rigorous runtime portability
      • Improve robustness
      • Increase performance
      • Simplify integration, flatten learning curve
      • Grow the DDS ecosystem
      • … with a new Java 5+ PSM
      • … that takes advantage of platform-specific
        • Technologies
        • Best practices
        • Conventions
      © 2009 RTI - All rights Reserved
    14. Next Steps Road Map
      • Determining Level of Interest
        • Do DDS users have these problems?
        • Would DDS vendors respond to an RFP?
      • Possible Timeline
      © 2009 RTI - All rights Reserved
        • Discuss / complete problem definition, requirements list
      Sep. – Dec. 2009
        • Issue RFP
      Dec. 2009 or Mar. 2010
        • Initial submission(s)
      Mar. or Jun. 2010
        • Revised submission(s)
      Sep. 2010
        • Adoption
      Dec. 2010
    15. Next Steps Open Discussion © 2009 RTI - All rights Reserved
    SlideShare Zeitgeist 2009

    + Rick WarrenRick Warren Nominate

    custom

    155 views, 0 favs, 0 embeds more stats

    Presentation to a Technical Meeting of the Object M more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 155
      • 155 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 7
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories