OSGi Technology Hsin-Han Yang, Cheng-Yi Chien, Po-Cheng Huang.

Slides:



Advertisements
Similar presentations
NetServ Dynamic in-network service deployment Henning Schulzrinne (Columbia University) Srinivasan Seetharaman (Georgia Tech) Volker Hilt (Bell Labs)
Advertisements

Copyright © 2002, Peter Kriens, All Rights Reserved OSGi versus UPnP??? There is no "versus" here. OSGi is fully complimentary to UPnP. No overlap. UPnP.
When Applications can Roam Freely OSGi Service Platform R4 Peter Kriens Technical Director OSGi
Universal Middleware Peter Kriens Technical Director OSGi
©2003 aQute, All Rights Reserved Tokyo, August 2003 : 1 OSGi Service Platform Tokyo August 28, 2003 Peter Kriens CEO aQute, OSGi Fellow
© OSGi, All Rights Reserved - Brussel Jan 22 Ertico/OSGi Tech Spec Overview: Introduction OSGi R3 and Remote Management Ertico/OSGi meeting Jan.
Starting With The OSGi Specifications By Peter Kriens, CEO aQute OSGi Fellow
OSGi & Other Technologies
Welcome to Middleware Joseph Amrithraj
Module 3 Configuring Hardware on a Computer Running Windows XP Professional.
TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
SelfCon Foil no 1 Dynamic component systems 1. SelfCon Foil no 2 Pre-structured systems vs. dynamic component systems Pre-structured – emphasis on content.
OSGi: Final summary and discussion. Outline Review: Origins of OSGi –Consortium –Goals Review: What is OSGi –Dynamic Modules for Java –Advanced Component.
Introduce OSGi BlueDavy
Component Models and Technologies Case Study: OSGI.
Why OSGi matters for Enterprise Java Infrastructures
Apache Axis2 - OSGi Integration in WSO2 Carbon Platform
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
DOSGi Application Platform for MobiCloud Long Qiu Xinyi Dong.
OSGi: Open Services Gateway Initiative Richard Chapman 5 Sept
Monitoring OSGi platforms with ProActive Virginie Legrand OASIS Team - INRIA Sophia Antipolis.
UPnP AV Architectural Multimedia System with a Home Gateway Powered by the OSGi Platform Manuscript received January 15, 2005 Reporter: Sy-Han Wang.
Spring Dynamic Modules. Startlocation: Documentation: /1.2.1/reference/html/
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
1 Copyright 2008 NexJ Systems Inc. Confidential and Proprietary - Not for Distribution. Open Source Strategy NexJ Systems Inc.
An Introduction to OSGi: Creating Highly Modular Java Systems Simon Archer, IBM 15 November 2010.
OSGi.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Introduction to the Atlas Platform Mobile & Pervasive Computing Laboratory Department of Computer and Information Sciences and Engineering University of.
Choon Oh Lee OSGi Service Platform. About OSGi Service Platform What it is, Where it is used, What features it provides are Today’s Content.
Tiny Components – a collection of initial ideas copyright © 2003 Tiny Components Tiny Components A Component Model for Small, Embedded or Mobile devices.
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
© 2007 by «Author»; made available under the EPL v1.0 | Date | Other Information, if necessary Eclipse SOA Tools Platform Project Eric Newcomer IONA Technologies.
第十四章 J2EE 入门 Introduction What is J2EE ?
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
OSGi & UPnP Technology 2009 Summer Ya-Lin Huang. 2 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Framework Service.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
Comparing JavaBeans and OSGi Towards an Integration of Two Complementary Component Models HUMBERTO CERVANTES JEAN-MARIE FAVRE 09/02.
1 Introduction to Microsoft Windows 2000 Windows 2000 Overview Windows 2000 Architecture Overview Windows 2000 Directory Services Overview Logging On to.
Migrating Desktop The graphical framework for running grid applications Bartek Palak Poznan Supercomputing and Networking Center The.
OSGi Service Platform Open Service Gateway initiative.
Webservice versioning using osgi Allard Buijze, Jettro Coenradie.
Open Service Gateway Initiative (OSGi) Reporter : 林學灝 侯承育 1.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
Migrating Desktop Marcin Płóciennik Marcin Płóciennik Kick-off Meeting, Santander, Graphical.
© 2008 by Matt Flaherty & Mary Ruddy; made available under the EPL v1.0 Security & Identity : From present to future Matt Flaherty, IBM Mary Ruddy, Meristic.
© 2002, Youngjoon Choi, RESL, Inha University Page : 1 Open Services Gateway initiative OSGi Open Services Gateway Initiative Youngjoon Choi © Realtime.
ICT Strategy Intelligent Highways: Endpoint Adapters.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary June, 2011 Made available under the Eclipse Public License v Mobile.
Adtranz - A Member of the DaimlerChrysler Group4-Dec-154-Dec-15. Page 1 Goal Software framework for large scale electronic service deployment on small.
Jini Architecture Introduction System Overview An Example.
Migrating Desktop Bartek Palak Bartek Palak Poznan Supercomputing and Networking Center The Graphical Framework.
Slide 1 ApacheCon 2011 > Doreen Seider> Using OSGi to Build Better Software > Using OSGi to Build Better Software Lessons from a Telemedicine.
Jini Architectural Overview Li Ping
Getting Started with the Open Services Gateway Initiative (OSGi) CNT 5517 Dr. Sumi Helal, Ph.D. Professor Computer & Information Science & Engineering.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Introduction 1 Lars Vogel 4/22/2009.  Who am I?  Eclipse as a platform  What is Eclipse RCP?  Extension Points / Extensions  Equinox  SWT & JFace.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
EUFORIA FP7-INFRASTRUCTURES , Grant Migrating Desktop Uniform Access to the Grid Marcin Płóciennik Poznan Supercomputing and Networking Center.
BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda.
Introduction to OSGi +ActorFrame Surya Bahadur Kathayat
Intro to the Atlas Platform Raja Bose Dr. Abdelsalam (Sumi) Helal January 23, 2007.
Real-Time Systems Lab. OSGi overview January 23, 2002 Sung-ho Park.
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
WebSphere Diego Leone.
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

OSGi Technology Hsin-Han Yang, Cheng-Yi Chien, Po-Cheng Huang

2 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

3 What is OSGi Technology It’s a module system for the Java platform It’s dynamic It’s service-oriented A specification of the OSGi Alliance, a non-profit organization

4 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

5 Alliance “Open Service Gateway Institute” The Alliance has been founded by Sun Microsystems, IBM, Ericsson and others in March Among its members are (as of 2008) more than 35 companies from quite different business areas, for example Hitachi, Mitsubishi Electric Corporation, Motorola, NEC, Nokia, Oracle, ProSyst Software, Red Hat, Siemens Enterprise Communications, Software AG, SpringSource…

6 Specifications OSGi Release 1 (R1): May 2000 OSGi Release 2 (R2): October 2001 OSGi Release 3 (R3): March 2003 OSGi Release 4 (R4): October 2005 / September 2006 Core Specification (R4 Core): October 2005 Mobile Specification (R4 Mobile / JSR-232): September 2006

7 Specifications OSGi framework Standard service definitions Log Service Http Service Device Service Package Administration Service Permission Administration Service Configuration Administration Service Preferences Service User Administration Service

Specifications 8

Key Benefits Platform Independence Application Independence Multiple Service Support Service Collaboration Support Multiple Network Technology Support Security Simplicity

10 Key Benefits Platform Independence: OSGi member companies work in many different environments and as such they suffer different constraints, resulting in widely varying product characteristics and capabilities. Application Independence: The OSGi specifications focus on defining common APIs for service deployment. This makes the specifications suitable for Service Platforms for a variety of applications in different markets.

11 Key Benefits Multiple Service Support: OSGi environments should be capable of hosting multiple applications from different Service Providers on a single Service Platform with each application providing an independent set of services to the end user. Service Collaboration Support: An important aspect of the OSGi deployment model is that it allows the core platform to be extended with deployed services. This is not limited to end user oriented services only, which is a limitation of some other deployment models.

12 Key Benefits Multiple Network Technology Support: OSGi Service Platforms can work with wide area technologies like xDSL, Cable modems, Satellite, ISDN and POTS and local area networks like Bluetooth, USB, IEEE 1394 Firewire and VHN. Popular service discovery techniques like UPnP, Jini, Salutation and several others work very well in conjunction with an OSGi Service Platform and can even potentially interwork transparently.

13 Key Benefits Security: The OSGi offers a fine grained security architecture that limits the potential harm a malicious or badly written application can do. Simplicity : The OSGi environment offers a service environment for everybody by removing much of the complexity and putting it into the hands of professionals. The environment can be remotely managed by a professional organization, if so desired.

14 Key Benefits Avoids Java Archive (JAR) file hell Reuse code "out of the box" Simplifies multi-team projects Enables smaller systems Manages deployments local or remotely Extensive tool support No lock in, many providers of core technology including many open source Very high adoption rate

15 OSGi Terminology Services gateway Framework Service Bundle

16 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

17 OSGi Framework Services gateway Generic application framework Lightweight framework Simple component model Service registry Support for deployment

18 OSGi Framework

19 OSGi Framework Hardware: the physical part of a computer. Operating System: a software program that manages the hardware and software resources of a computer. Java Runtime Environment: a software bundle from Sun Microsystems that allows a computer system to run a java application. Application: a subclass of computer software that employs the capabilities of a computer directly to a task that the user wishes to perform.

20 OSGi Framework The Framework is divided in a number of layers: Execution Environment, Modules, Life Cycle Management and Service Registry. Additionally, there is a security system that is deeply intertwined with all the layers.

21 OSGi Framework Execution environment: the specification of the Java environment. Java 2 Configurations and Profiles. Modules: defines the class loading policies. The OSGi Framework is a powerful and strictly specified class loading model. It is based on top of Java but add modularization. Life Cycle Management: adds bundles that can be dynamically installed, started, stopped, updated, and uninstalled. Bundles rely on the module layer for class loading but add an API to manage the modules in run time.

22 OSGi Framework Service Registry: The service registry provides a cooperation model for bundles that takes the dynamics into account. The service registry provides a comprehensive model to share objects between bundles. A number of events are defined to handle the coming and going of services. Security is based on Java and the Java 2 security model.

23 OSGi Framework

24 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

25 Service & Bundle Services Provide applications Bundles (JAR file) Provide (export) and reuse (import) services via the framework Identify Java packages (classes) Implement specified interface (services) Register services with the Service Registry

26 Bundle Life Cycle

27

28

29

30 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

31 Typical Use Cases Internet Access Personal Communications Home Automation Home Security Home Health Care Monitoring Entertainment Information management Telematics (Automotive)

32 Typical Use Cases

33 Typical Use Cases

34 Commercial Use Cases Nokia implements OSGi on 800 Ricoh Multi-functional Products (MFPs) laser printers BMW Research 3GT, Ertico GST Volvo Technology (VTEC) 3GT (Third Generation Telematics) GST (Global System for Telematics) CVIS (Cooperative Vehicle Infrastructure Systems) Philips iPronto

35 Outline What is OSGi Technology Introduction Alliance Specifications Key Benefits OSGi Terminology OSGi Framework Service & Bundle Use Cases OSGi Implementation

36 Framework Implementation IBM Lotus Expeditor ProSyst Software Knopflerfish OSGi Makewave (formerly Gatespace Telematics) Equinox OSGi (Eclipse project) Objectweb Oscar Apache Felix

Knopflerfish Installation (1) Software Environment JRE 1.6.0_10 Window XP Download jar file Current release OSGi R4 - Knopflerfish Download knopflerfish_osgi_.jar

Knopflerfish Installation (2) Execute knopflerfish_osgi_.jar double-clicking on the distribution file or by the command: java -jar knopflerfish_osgi_.jar

Startup Knopflerfish Change the directory to the installation directory and start Knopflerfish double-clicking on framework.jar or by the command: java -jar framework.jar

Eclipse – Develop OSGi Bundle Software Environment Eclipse Knopflerfish plug-in for Eclipse Programming Tutorial Knopflerfish tutorial Oscar Tutorial