Presentation is loading. Please wait.

Presentation is loading. Please wait.

©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Tech Spec Overview: Introduction OSGi R3 and Remote Management Ertico/OSGi meeting Jan.

Similar presentations


Presentation on theme: "©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Tech Spec Overview: Introduction OSGi R3 and Remote Management Ertico/OSGi meeting Jan."— Presentation transcript:

1 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Tech Spec Overview: Introduction OSGi R3 and Remote Management Ertico/OSGi meeting Jan 22, Brussel Introduction

2 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi What is the OSGi Service Platform? A Java framework for developing remotely deployed service applications, that require: –Reliability –Large scale distribution –Wide range of devices –Collaborative Created through collaboration of industry leaders Spec 2.0 publicly available at www.osgi.org Spec 3.0 soon to be released

3 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi When is the OSGi Service Platform feasible? The end user is interested in using services any time, not managing a system The system must be extendable and upgradeable The system is (intermittently) connected to a network Remote Management is provided by an Operator

4 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Example OSGi deployments Telematics Residential gateway Wireless Base Station Kiosk Web pad Settop box Vending Machine

5 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Essentials Reliable –Large-scale deployments fail without extremely high reliability Portable –Attract third-party developers to create essential innovative services –Embedded systems come in many different flavors Dynamic –Allow configuration to adapt to user & operator needs over time Secure –Protect service providers from each other –Guarantee a prescribed quality of service Scalable –Members have very different configurations for their deployment of OSGi frameworks

6 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi OSGi Environment Hardware Bundle Operating System OSGi Java VM Bundle (Application) Driver = service interface exported and imported by bundles

7 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Core Functions Life Cycle Management –Install, Start, Stop, Update, Uninstall Registry of services with notifications Package and version management Open remote management architecture Strict separation of specifications and implementations – multiple implementations

8 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Framework Entities OSGi Framework Bundle A {} = service, java interface Bundle B {} Bundle C {}

9 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Bundles A bundle is the deliverable application –Like a Windows EXE file A bundle registers zero or more services –A service is specified in a Java interface and may be implemented by multiple bundles Searches can be used to find services registered by other bundles –Query language The Framework itself is represented as the system bundle

10 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Collaborative model More than an Applet, MIDlet, Xlet runner Bundles can collaborate through: –service objects –package sharing A dynamic registry allows a bundle to find and track service objects Framework fully manages this collaboration –Dependencies, security

11 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Collaborative model How does OSGi relate to MIDP, Java TV, Browsers JAVA Operating System Hardware Java Application Manager Service registry packages Midlet, Xlet, or Applet Midlet, Xlet, or Applet No native code No package management (versions!) No collaboration No management bundles

12 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Service Registry The Framework Service Registry is available to all bundles to collaborate with other bundles Requires permission –Under operator control Services are associated with properties –Query language to find appropriate service Bundles can update the properties

13 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Release 3 Services (Preliminary) Framework OSGi Specifications Content Execution Environment Device ManagerLog ServiceHttp Service R1 User Admin Service TrackerConfiguration Admin Preferences Service Package AdminPermission Admin R2 Connector Service Position XML Parser Service UPnP ServiceJini ServiceWire Admin Measurement Start LevelURL Handler R3 Preliminary

14 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Security OSGi (optionally) uses Java 1.2 Security based on Permission classes This automatically verifies the call-chain Applications providing secure functions can limit the call-chain check Permissions can be managed by the Management Agent through the PermissionAdmin service Java Security is flexible but very complex and CPU intensive

15 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Management Framework provides mechanisms, but is policy free –I.e. a bundle can be installed but from where is left open Management policy provided by a bundle specific to the operator: –Called a Management Agent Management policies made/selected by the operator

16 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi R3 Reference Architecture

17 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Application Models Gateway Model –Archetypical OSGi model where an Operator manages a box used by an end-user Industrial Model –The Operator uses OSGi to manage an industrial system like for example GSM Base Stations Self Managed Model –Similar to PC model where the end user is his own Operator Services in the network model –Implemented by Telia

18 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Remote Management Reference Architecture Goal: –Interoperability between management systems and OSGi Service Platforms. ACUNIA IBM Tivoli HP OpenView... ProSyst IBM Gatespace... SNMP CIM Propriet.... Management SystemsProtocolsOSGi Service Platforms

19 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi R3 Remote Management Reference Architecture

20 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Remote Management Reference Architecture Standardization of protocols not necessary because new protocols can be downloaded –An SNMP bundle from vendor X will connect all SNMP management systems to any OSGi Service Platform Management primitives are available as OSGi APIs –life cycle management –monitoring –configuration management –security

21 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Remote Management Model delivers interoperability Does not address management applications interoperability (I.e. JSR 124) Gatespace Solstice Ericsson eservices... ProSyst/IBM/VDO Gatespace/Acunia... ProSyst/IBM/ /VDO Gatespace/Acunia/... ACUNIA/IBM/ VDO Gatespace/ProSyst/...... SNMP CIM Propriet.... Management SystemsProtocolsOSGi Service Platforms

22 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Remote Management Management APIs based on bundle, not end end user service provisioning –An end user service can consist of multiple bundles Dependencies between bundles should be managed by the server –I.e. bundle X requires bundle Y and Z –Bundle's manifest supports many different schemes

23 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Initial Provisioning How does the first Management Agent get into the Service Platform? This process is called Initial Provisioning Recommended specification R3

24 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Initial Provisioning The Service Platform contacts the remote manager with a URL ZIP file contains bundles that are installed and started Remote Manager Service Platform Send url with SPI bundles Send ZIP file with bundles and configuration info Install Management Agent bundles Optionally Repeat Communicate With a specific protocol

25 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Initial Provisioning Initial Provisioning is an abstract specification with concrete mappings for the following URL schemes: –HTTP:, standard HTTP urls –HTTPS:, secure HTTP –RSH:, uses a shared secret when HTTPS is too heavy –FILE:, initial Management Agent can come from file system Manufacturers can easily provide support for –Smart cards –Removable disks

26 ©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Questions??


Download ppt "©1999-2002 OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Tech Spec Overview: Introduction OSGi R3 and Remote Management Ertico/OSGi meeting Jan."

Similar presentations


Ads by Google