SlideShare a Scribd company logo
1 of 32
OSGi Technology
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 1999.
• 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
8
Specifications
Key Benefits
• Platform Independence
• Application Independence
• Multiple Service Support
• Service Collaboration Support
• Multiple Network Technology Support
• Security
• Simplicity
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
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.
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
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
– http://www.knopflerfish.org/download.html
– Current release OSGi R4 - Knopflerfish 2.0.5
– Download knopflerfish_osgi_<version>.jar
Knopflerfish Installation (2)
• Execute knopflerfish_osgi_<version>.jar
– double-clicking on the distribution file
– or by the command: java -jar knopflerfish_osgi_<version>.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 3.1-3.4
http://www.eclipse.org/downloads
– Knopflerfish plug-in for Eclipse
http://www.knopflerfish.org/eclipse_plugin.html
• Programming Tutorial
– Knopflerfish tutorial
http://www.knopflerfish.org/tutorials.html
– Oscar Tutorial
http://oscar-osgi.sourceforge.net/tutorial/

More Related Content

Viewers also liked

ICESERVE24: OTGtruth: Russian Moves into Their 'Afghanistan Part II'
ICESERVE24: OTGtruth:  Russian Moves into Their 'Afghanistan Part II'ICESERVE24: OTGtruth:  Russian Moves into Their 'Afghanistan Part II'
ICESERVE24: OTGtruth: Russian Moves into Their 'Afghanistan Part II'Lubomir Cech
 
Creation and Provision of Information Services for People with Disabilities i...
Creation and Provision of Information Services for People with Disabilities i...Creation and Provision of Information Services for People with Disabilities i...
Creation and Provision of Information Services for People with Disabilities i...Gretchen Marie Carrasquillo Ramos
 
Microstrip patch-antenna
Microstrip patch-antennaMicrostrip patch-antenna
Microstrip patch-antennaBablu Singh
 
Procés tecnológic
Procés tecnológicProcés tecnológic
Procés tecnológiclaura2D
 
Temperature monitoring and controling using arduino
Temperature monitoring and controling using arduinoTemperature monitoring and controling using arduino
Temperature monitoring and controling using arduinoBablu Singh
 

Viewers also liked (8)

14216213 pss7
14216213 pss714216213 pss7
14216213 pss7
 
ICESERVE24: OTGtruth: Russian Moves into Their 'Afghanistan Part II'
ICESERVE24: OTGtruth:  Russian Moves into Their 'Afghanistan Part II'ICESERVE24: OTGtruth:  Russian Moves into Their 'Afghanistan Part II'
ICESERVE24: OTGtruth: Russian Moves into Their 'Afghanistan Part II'
 
Sockets
Sockets Sockets
Sockets
 
Creation and Provision of Information Services for People with Disabilities i...
Creation and Provision of Information Services for People with Disabilities i...Creation and Provision of Information Services for People with Disabilities i...
Creation and Provision of Information Services for People with Disabilities i...
 
Microstrip patch-antenna
Microstrip patch-antennaMicrostrip patch-antenna
Microstrip patch-antenna
 
Procés tecnológic
Procés tecnológicProcés tecnológic
Procés tecnológic
 
FLP PRODUCTS & DOSAGE
FLP PRODUCTS & DOSAGEFLP PRODUCTS & DOSAGE
FLP PRODUCTS & DOSAGE
 
Temperature monitoring and controling using arduino
Temperature monitoring and controling using arduinoTemperature monitoring and controling using arduino
Temperature monitoring and controling using arduino
 

Similar to OSGi Technology: A Module System for Java Platform

OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentSanjeeb Sahoo
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixMarcel Offermans
 
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...mfrancis
 
OSGi Working Group Technical Progress Report 2007 - Enterprise
OSGi Working Group Technical Progress Report 2007 - EnterpriseOSGi Working Group Technical Progress Report 2007 - Enterprise
OSGi Working Group Technical Progress Report 2007 - Enterprisemfrancis
 
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OpenBlend society
 
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, NokiaHistory and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokiamfrancis
 
OSGi User Forum US DC Metro
OSGi User Forum US DC MetroOSGi User Forum US DC Metro
OSGi User Forum US DC MetropjhInovex
 
OSGi user forum dc metro v1
OSGi user forum dc metro v1OSGi user forum dc metro v1
OSGi user forum dc metro v1pjhInovex
 
OSGi and JavaScript - Simon Kaegi
OSGi and JavaScript - Simon KaegiOSGi and JavaScript - Simon Kaegi
OSGi and JavaScript - Simon Kaegimfrancis
 
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...mfrancis
 
Grid Middleware – Principles, Practice and Potential
Grid Middleware – Principles, Practice and PotentialGrid Middleware – Principles, Practice and Potential
Grid Middleware – Principles, Practice and PotentialPaul Brebner
 
OSGi Technology Value Proposition - December 2013
OSGi Technology Value Proposition - December 2013OSGi Technology Value Proposition - December 2013
OSGi Technology Value Proposition - December 2013mfrancis
 
Going Native With The OSGi Service Layer - Sascha Zelzer
Going Native With The OSGi Service Layer - Sascha ZelzerGoing Native With The OSGi Service Layer - Sascha Zelzer
Going Native With The OSGi Service Layer - Sascha Zelzermfrancis
 
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...mfrancis
 
OGF Introductory Overview - OGF 44 at EGI Conference 2015
OGF Introductory Overview - OGF 44 at EGI Conference 2015OGF Introductory Overview - OGF 44 at EGI Conference 2015
OGF Introductory Overview - OGF 44 at EGI Conference 2015Alan Sill
 
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...mfrancis
 

Similar to OSGi Technology: A Module System for Java Platform (20)

OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
 
De leukste Bug
De leukste BugDe leukste Bug
De leukste Bug
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...
Technical Specification Overview - OSGi World Congress 2002 Workshop Intro - ...
 
OSGi Working Group Technical Progress Report 2007 - Enterprise
OSGi Working Group Technical Progress Report 2007 - EnterpriseOSGi Working Group Technical Progress Report 2007 - Enterprise
OSGi Working Group Technical Progress Report 2007 - Enterprise
 
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
 
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, NokiaHistory and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
 
OSGi User Forum US DC Metro
OSGi User Forum US DC MetroOSGi User Forum US DC Metro
OSGi User Forum US DC Metro
 
OSGi user forum dc metro v1
OSGi user forum dc metro v1OSGi user forum dc metro v1
OSGi user forum dc metro v1
 
OSGi and JavaScript - Simon Kaegi
OSGi and JavaScript - Simon KaegiOSGi and JavaScript - Simon Kaegi
OSGi and JavaScript - Simon Kaegi
 
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
 
Grid Middleware – Principles, Practice and Potential
Grid Middleware – Principles, Practice and PotentialGrid Middleware – Principles, Practice and Potential
Grid Middleware – Principles, Practice and Potential
 
OSGi Technology Value Proposition - December 2013
OSGi Technology Value Proposition - December 2013OSGi Technology Value Proposition - December 2013
OSGi Technology Value Proposition - December 2013
 
Avoiding cloud lock-in
Avoiding cloud lock-inAvoiding cloud lock-in
Avoiding cloud lock-in
 
Going Native With The OSGi Service Layer - Sascha Zelzer
Going Native With The OSGi Service Layer - Sascha ZelzerGoing Native With The OSGi Service Layer - Sascha Zelzer
Going Native With The OSGi Service Layer - Sascha Zelzer
 
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
 
Pro syst about us
Pro syst   about usPro syst   about us
Pro syst about us
 
OIC AGL Collaboration
OIC AGL CollaborationOIC AGL Collaboration
OIC AGL Collaboration
 
OGF Introductory Overview - OGF 44 at EGI Conference 2015
OGF Introductory Overview - OGF 44 at EGI Conference 2015OGF Introductory Overview - OGF 44 at EGI Conference 2015
OGF Introductory Overview - OGF 44 at EGI Conference 2015
 
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...
2005 OSGi Alliance Status - John Barr, Ph.D., Past President, OSGi Alliance; ...
 

Recently uploaded

Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of indiaimessage0108
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 

Recently uploaded (20)

Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of india
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 

OSGi Technology: A Module System for Java Platform

  • 2. 2 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 3. 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. 4 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 5. 5 Alliance • “Open Service Gateway Institute” • The Alliance has been founded by Sun Microsystems, IBM, Ericsson and others in March 1999. • 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. 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. 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
  • 9. Key Benefits • Platform Independence • Application Independence • Multiple Service Support • Service Collaboration Support • Multiple Network Technology Support • Security • Simplicity
  • 10. 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
  • 11. 15 OSGi Terminology • Services gateway • Framework • Service • Bundle
  • 12. 16 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 13. 17 OSGi Framework • Services gateway • Generic application framework • Lightweight framework – Simple component model – Service registry – Support for deployment
  • 15. 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.
  • 17. 24 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 18. 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
  • 20. 27
  • 21. 28
  • 22. 29
  • 23. 30 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 24. 31 Typical Use Cases • Internet Access • Personal Communications • Home Automation • Home Security • Home Health Care Monitoring • Entertainment • Information management • Telematics (Automotive)
  • 27. 35 Outline • What is OSGi Technology • Introduction – Alliance – Specifications – Key Benefits – OSGi Terminology • OSGi Framework • Service & Bundle • Use Cases • OSGi Implementation
  • 28. 36 Framework Implementation • IBM Lotus Expeditor • ProSyst Software • Knopflerfish OSGi – Makewave (formerly Gatespace Telematics) • Equinox OSGi (Eclipse project) • Objectweb Oscar – Apache Felix
  • 29. Knopflerfish Installation (1) • Software Environment – JRE 1.6.0_10 – Window XP • Download jar file – http://www.knopflerfish.org/download.html – Current release OSGi R4 - Knopflerfish 2.0.5 – Download knopflerfish_osgi_<version>.jar
  • 30. Knopflerfish Installation (2) • Execute knopflerfish_osgi_<version>.jar – double-clicking on the distribution file – or by the command: java -jar knopflerfish_osgi_<version>.jar
  • 31. 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
  • 32. Eclipse – Develop OSGi Bundle • Software Environment – Eclipse 3.1-3.4 http://www.eclipse.org/downloads – Knopflerfish plug-in for Eclipse http://www.knopflerfish.org/eclipse_plugin.html • Programming Tutorial – Knopflerfish tutorial http://www.knopflerfish.org/tutorials.html – Oscar Tutorial http://oscar-osgi.sourceforge.net/tutorial/