1 / 5

OSGi versus UPnP???

OSGi versus UPnP??? . There is no "versus" here. OSGi is fully complimentary to UPnP. No overlap. UPnP = set of protocols to discover and communicate with networked devices UPnP Implementations could use OSGi as execution environment like they could use Windows, Linux or QNX operating systems

talmai
Download Presentation

OSGi versus UPnP???

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OSGi versus UPnP??? • There is no "versus" here. OSGi is fully complimentary to UPnP. No overlap. • UPnP = set of protocols to discover and communicate with networked devices • UPnP Implementations could use OSGi as execution environment like they could use Windows, Linux or QNX operating systems • OSGi = environment for Java programs to execute in a well defined and managed environment • OSGi implementations could use UPnP (or Jini, or SLP, or Salutation) to discover and use networked devices

  2. What problem solves OSGi? • The problem of deploying many, independent programs in very large distributed systems • For that purpose, it defines: • An operating environment for programs • Format for downloadable code • A means to discover other programs • Standardizing program interfaces to allow reuse • Life cycle management of downloadable programs

  3. What problem solves UPnP? • Distributed control by humans of networked devices that can come and go dynamically • For that purpose, it defines protocols: • Discovery of devices on a local network • A notification mechanism with publish/subscribe • And a language • A formal language that defines the actions and variables of a device

  4. Comparison on details • OSGi • Java • Executing code • Behavior (Code) • Program-Program oriented • Standardizing Java interfaces • Service is local and fast • UPnP • XML DTD • Communications • Declarative • User oriented • Standardizing XML templates • Service is remote and slow to execute

  5. Behavior, programs! Declaration only! OSGi Framework UPnP declaration of device capabilities <?xml version="1.0"?><Schema name="service-1-0" xmlns="urn:schemas-microsoft-com:datat" xmlns:dt="urn:schemas-microsoft-com:datatypes"> <ElementType name="scpd" content="eltOnly"> <element type="actionList"/> <element type="serviceStateTable"/> </ElementType> <element type="action" minOccurs="0" maxOccurs="*"/>………….…. Remote Bundle IR Bundle OSGi Remote Controller UPnP TV Electronic Program Guide UPnP Bundle Standard TV with IR control

More Related