This document provides an agenda and overview of the inaugural meeting of the OSGi Users' Forum DC Metro. The meeting will introduce attendees to the OSGi Users' Forum, discuss the relationship between the Forum and the OSGi Alliance, and provide an introduction to OSGi technology. Attendees will learn about the charter and leadership of the DC Metro chapter, as well as upcoming events and opportunities to get involved. An introduction to OSGi concepts like bundles, services, and dependencies will also be presented.
#OSSPARIS19 : Control your Embedded Linux remotely by using WebSockets - Gian...Paris Open Source Summit
Always wanted to control your IoT device without SSH'ing into it? In this talk we will show how WebSockets, MQTT and a set of custom go/js libraries can help in managing remotely your IoT device without knowing its IP address. Learn how you can use the Arduino Create Agent to easily deploy containers, remotely. A journey on Docker client, APT command line, sockets, systemd and much more on Arm and Intel Linux devices.
Networking For Nested Containers: Magnum, Kuryr, Neutron IntegrationFawad Khaliq
In the OpenStack ecosystem, containers were introduced as first class citizens recently with the project Magnum and the networking for containers has also evolved since then. Project Kuryr makes networking available to containers through Neutron. This all brings together how Neutron networking benefits containers like it does virtual machines. However, to make Neutron, Kuryr and Magnum cover all the use cases for containers, nested containers inside Nova VMs require networking to work as seamlessly as it works for virtual machines or bare metal containers. In this session, we will talk about Magnum, Kuryr, Neutron integration and how the problem of nested container networking has been solved in the OpenStack community, it's architecture, the design, current status and next steps.
Hands-on Lab: Test Drive Your OpenStack NetworkPLUMgrid
Neutron is deployed in the majority of OpenStack clouds but it still constitutes one of the key areas of concerns for organizations world-wide. The transition from traditional hardware-centric networking to the software defined model takes time and learning and requires a mental shift as well as a change in workflows, procedures, tools and best-practices. In this session each participant will be provided with a personal sandbox OpenStack running a live Liberty-based environment and will work on common use cases and applications of SDNs in an OpenStack Cloud. The class will focus on test cases that will move beyond the basics of L2 and L3 and deploy VNFs such as NAT and security policies on top of a 3-tier application topology. The class will also go through exercises that are focused on monitoring and troubleshooting SDNs in an OpenStack cloud.
#OSSPARIS19 : Control your Embedded Linux remotely by using WebSockets - Gian...Paris Open Source Summit
Always wanted to control your IoT device without SSH'ing into it? In this talk we will show how WebSockets, MQTT and a set of custom go/js libraries can help in managing remotely your IoT device without knowing its IP address. Learn how you can use the Arduino Create Agent to easily deploy containers, remotely. A journey on Docker client, APT command line, sockets, systemd and much more on Arm and Intel Linux devices.
Networking For Nested Containers: Magnum, Kuryr, Neutron IntegrationFawad Khaliq
In the OpenStack ecosystem, containers were introduced as first class citizens recently with the project Magnum and the networking for containers has also evolved since then. Project Kuryr makes networking available to containers through Neutron. This all brings together how Neutron networking benefits containers like it does virtual machines. However, to make Neutron, Kuryr and Magnum cover all the use cases for containers, nested containers inside Nova VMs require networking to work as seamlessly as it works for virtual machines or bare metal containers. In this session, we will talk about Magnum, Kuryr, Neutron integration and how the problem of nested container networking has been solved in the OpenStack community, it's architecture, the design, current status and next steps.
Hands-on Lab: Test Drive Your OpenStack NetworkPLUMgrid
Neutron is deployed in the majority of OpenStack clouds but it still constitutes one of the key areas of concerns for organizations world-wide. The transition from traditional hardware-centric networking to the software defined model takes time and learning and requires a mental shift as well as a change in workflows, procedures, tools and best-practices. In this session each participant will be provided with a personal sandbox OpenStack running a live Liberty-based environment and will work on common use cases and applications of SDNs in an OpenStack Cloud. The class will focus on test cases that will move beyond the basics of L2 and L3 and deploy VNFs such as NAT and security policies on top of a 3-tier application topology. The class will also go through exercises that are focused on monitoring and troubleshooting SDNs in an OpenStack cloud.
AllJoyn is an open source framework in the fight to become the standard for IoT applications. The presentation brings together information scattered around to give an overview of the framework and its applications.
You Can Build Your OpenStack and Consume it TooPLUMgrid
The power of the community is what makes open source initiatives extremely transformational—like OpenStack. On the other hand, enterprise users who are looking at adopting this solution need to go through a steep learning curve and deep transformation of their internal team structure. The power of OpenStack is actually greatly amplified by the ecosystem of vendors around it that look at important aspects like support and hardening as well as augmentation of specific aspects (e.g. scalability and performance) that are needed in production environments bringing the most value to users. Join Rackspace and PLUMgrid product specialists to learn how we jointly enable our Private Cloud enterprise users to consume OpenStack and Software Defined Networks (SDN) as ONE solution that brings comprehensive security, scalability and performance and a rich set of operational tools.
Microservices Architectures with Docker Swarm, etcd, Kuryr and NeutronFawad Khaliq
Microservices architectures are revolutionizing the way software is envisioned and built. OpenStack has started to play a key role in enabling the microservices architectures and focused groups inside OpenStack community are working towards this goal: Magnum, Kuryr etc.
Docker is one of the key components here and combining them all, we get to build microservices architectures using tools like Docker Swarm, Etcd, Kuryr and Neutron. This workshop will provide attendees with the opportunity to gain experience with various Docker features and uses cases integrated with the OpenStack ecosystem. The lab will cover wide range of topics:
Introduction to Docker and OpenStack
Docker Swarm: Architecture and usage
Etcd
Kuryr and Neutron: Architecture and usage with DevStack
Deploying Microservices
Breaking Docker, Kuryr and debugging it!
Attendees simply need to come in (with their laptop). Workshop speaker/organizer will provide instructions and will be available to answer any questions.
Application Policy Enforcement Using APIC Cisco Canada
Problems in current Data Center are mostly surrounding policy around applications. The presentation is designed to help students get a jump start on configuring and troubleshooting basic policy model as well as providing valuable hands-on experience with how the APIC integrates into existing network environments
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchevmfrancis
OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule)
ABSTRACT
OSGi is gaining popularity as enabling technology for building embedded systems in residential, automotive and M2M markets. In all these contexts it is often necessary to communicate with IP and non-IP devices by using various protocols such as Zigbee, ZWave, KNX, EnOcean, etc. In order to provide a convenient programming model suitable for the realization of end-to-end services it is very important to apply an abstraction layer which unifies the work with devices supporting different protocols. A specification work covering this topic has been already started by OSGi Alliance in cooperation with organizations such as HGI, ETSI M2M, BBF and OneM2M.
This presentation comments the existing approaches for the realization of device abstraction in OSGi. Special attention is paid to the requirements making such an abstraction suitable for interactions with cloud based applications and services. A reference architecture based on the experience gained from numerous commercial projects is presented and explained.
SPEAKER BIO
Dr. Dimitar Valtchev is Chief Technology Officer of ProSyst Software. His main technical interests are in the fields of embedded systems, device management and distributed computing.
Recently Dimitar has been involved in numerous residential and automotive projects using the OSGi technology. He believes in the power of open systems/architectures and actively participates in the work of organizations such as HGI and OSGi Alliance.
Dimitar is a senior member of IEEE and holds MS in Electronics, MS in Computer Science and PhD in Electrical Engineers degrees from the Technical University of Sofia.
Tap as a service: What you need to know nowFawad Khaliq
Tap-as-a-Service is a relatively new OpenStack project that was designed to provide tenants and service providers a means of monitoring the traffic flowing in their Neutron provisioned virtual networks. A lot of work has been carried out in the last two cycles, with multiple developers from around the world now contributing to the cause.
This presentation offers a review of all the progress made to date. We will discuss the primary motivations for monitoring network activity, explore the major challenges one can expect to encounter when attempting to monitor network traffic in a cloud environment and describe the need for a platform oriented solution. Next, an overview of the TaaS architecture and API will be presented, along with an update on current development activities and some of the planned enhancements for the future. We will also demonstrate traffic visibility solutions for a representative set of use cases covering network trouble-shooting, security and analytics.
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTCKranky Geek
Trent Johnsen from Hookflash will review of Object RTC (ORTC) and how its improvements are making they making their way into WebRTC already. Bernard Aboba (Microsoft) will then discuss some ORTC-based WebRTC implementation examples, including Microsoft's new Edge browser.
AllJoyn is an open source framework in the fight to become the standard for IoT applications. The presentation brings together information scattered around to give an overview of the framework and its applications.
You Can Build Your OpenStack and Consume it TooPLUMgrid
The power of the community is what makes open source initiatives extremely transformational—like OpenStack. On the other hand, enterprise users who are looking at adopting this solution need to go through a steep learning curve and deep transformation of their internal team structure. The power of OpenStack is actually greatly amplified by the ecosystem of vendors around it that look at important aspects like support and hardening as well as augmentation of specific aspects (e.g. scalability and performance) that are needed in production environments bringing the most value to users. Join Rackspace and PLUMgrid product specialists to learn how we jointly enable our Private Cloud enterprise users to consume OpenStack and Software Defined Networks (SDN) as ONE solution that brings comprehensive security, scalability and performance and a rich set of operational tools.
Microservices Architectures with Docker Swarm, etcd, Kuryr and NeutronFawad Khaliq
Microservices architectures are revolutionizing the way software is envisioned and built. OpenStack has started to play a key role in enabling the microservices architectures and focused groups inside OpenStack community are working towards this goal: Magnum, Kuryr etc.
Docker is one of the key components here and combining them all, we get to build microservices architectures using tools like Docker Swarm, Etcd, Kuryr and Neutron. This workshop will provide attendees with the opportunity to gain experience with various Docker features and uses cases integrated with the OpenStack ecosystem. The lab will cover wide range of topics:
Introduction to Docker and OpenStack
Docker Swarm: Architecture and usage
Etcd
Kuryr and Neutron: Architecture and usage with DevStack
Deploying Microservices
Breaking Docker, Kuryr and debugging it!
Attendees simply need to come in (with their laptop). Workshop speaker/organizer will provide instructions and will be available to answer any questions.
Application Policy Enforcement Using APIC Cisco Canada
Problems in current Data Center are mostly surrounding policy around applications. The presentation is designed to help students get a jump start on configuring and troubleshooting basic policy model as well as providing valuable hands-on experience with how the APIC integrates into existing network environments
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchevmfrancis
OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule)
ABSTRACT
OSGi is gaining popularity as enabling technology for building embedded systems in residential, automotive and M2M markets. In all these contexts it is often necessary to communicate with IP and non-IP devices by using various protocols such as Zigbee, ZWave, KNX, EnOcean, etc. In order to provide a convenient programming model suitable for the realization of end-to-end services it is very important to apply an abstraction layer which unifies the work with devices supporting different protocols. A specification work covering this topic has been already started by OSGi Alliance in cooperation with organizations such as HGI, ETSI M2M, BBF and OneM2M.
This presentation comments the existing approaches for the realization of device abstraction in OSGi. Special attention is paid to the requirements making such an abstraction suitable for interactions with cloud based applications and services. A reference architecture based on the experience gained from numerous commercial projects is presented and explained.
SPEAKER BIO
Dr. Dimitar Valtchev is Chief Technology Officer of ProSyst Software. His main technical interests are in the fields of embedded systems, device management and distributed computing.
Recently Dimitar has been involved in numerous residential and automotive projects using the OSGi technology. He believes in the power of open systems/architectures and actively participates in the work of organizations such as HGI and OSGi Alliance.
Dimitar is a senior member of IEEE and holds MS in Electronics, MS in Computer Science and PhD in Electrical Engineers degrees from the Technical University of Sofia.
Tap as a service: What you need to know nowFawad Khaliq
Tap-as-a-Service is a relatively new OpenStack project that was designed to provide tenants and service providers a means of monitoring the traffic flowing in their Neutron provisioned virtual networks. A lot of work has been carried out in the last two cycles, with multiple developers from around the world now contributing to the cause.
This presentation offers a review of all the progress made to date. We will discuss the primary motivations for monitoring network activity, explore the major challenges one can expect to encounter when attempting to monitor network traffic in a cloud environment and describe the need for a platform oriented solution. Next, an overview of the TaaS architecture and API will be presented, along with an update on current development activities and some of the planned enhancements for the future. We will also demonstrate traffic visibility solutions for a representative set of use cases covering network trouble-shooting, security and analytics.
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTCKranky Geek
Trent Johnsen from Hookflash will review of Object RTC (ORTC) and how its improvements are making they making their way into WebRTC already. Bernard Aboba (Microsoft) will then discuss some ORTC-based WebRTC implementation examples, including Microsoft's new Edge browser.
OSGi For Java Infrastructures [5th IndicThreads Conference On Java 2010, Pune...IndicThreads
Session Presented at 5th IndicThreads.com Conference On Java held on 10-11 December 2010 in Pune, India
WEB: http://J10.IndicThreads.com
------------
Session Abstract
OSGi continues to take over the landscape of Java-based infrastructure products ranging from Integrated Development Environment (like Eclipse), Application servers to enterprise Java systems and now setting horizons at Cloud infrastructures.
In this talk we will see how and why OSGi matters for enterprise Java systems. As a dynamic module system, the session will show how OSGi allows developers to modularize applications to create truly reusable components for enterprise scale. Features like strong modularity, versioning support, declarative services, the run-time ability to add, remove & update modules to build server-side enterprise applications will be discussed.
The session will deep dive into what’s new in OSGi enterprise specifications and how persistence, transaction and dependency injection support like Blueprint Container services addresses Enterprise use cases. The session will illustrate how OSGi Remote Services coupled with SCA configuration services enables creation of distributed, federated service model for heterogeneous systems. Along with above enterprise specifications, specific implementations like Apache Aries will also be highlighted.
The talk will also brief how OSGi is poised to one of key technology for Cloud computing where software components and services can be deployed, managed, dynamically provisioned with enterprise security within cloud based computing infrastructures.
Takeaways for the Audience In this session, audience will learn about:
(a) An overall understanding to view OSGi as THE module system for Java.
(b) How OSGi is poised to be key enabler for enterprise applications whether on servers, or on the cloud.
(c) How OSGi Enterprise specifications can be used in enterprise business applications.
(d) A better understanding of how OSGI will be key technology in Cloud infrastructures
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OpenBlend society
There's a considerable activity in the enterprise Java community about the use of OSGi in Java EE applications. We call such applications "hybrid applications." With hybrid applications, developers can continue to build standard and familiar enterprise application components, such as Java Servlets and EJBs, and take full advantage of:
* Features such as modularity/dependency management, service dynamism, and more provided by OSGi
* Infrastructure services such as transaction management, security, persistence, and more offered by Java EE
This session will present the current state of affairs, discuss the benefits of hybrid applications, and demonstrate development and deployment of such applications.
GlassFish will be used for demonstration.
When Google released the first SDK for Android, which was way before the first mobile phones running it were released, Karl and Marcel decided to try and see what it would take to get Apache Felix running OSGi on Android.
This presentation introduces the Android platform, OSGi, and demonstrates how to run Apache Felix on Android. It builds on an earlier blog article that was published on this subject, an article that inspired many other OSGi implementations to try the same.
Eclipse plug-in development seminar held by the Bulgarian Java User group covering basic aspects of Eclipse plug-in development and the new stuff in e4
The Bug is a device with which you can build your own mobile system by combining certain modules. Each module delivers a specific piece of functionality, such as camera, video output, GPS location, etc.
The fun part of this device is that both the hardware and the software are completely modular and dynamic. That means that you can easily, with Eclipse and an SDK, write your own software for it.
This session will introduce the Bug and the OSGi based software stack and will build and deploy a whole application.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
2. Agenda
• Introduction to the OSGi User’s User Form
– What is the forum all about?
– What is the OSGi Alliance?
– OSGi Alliance
– Alliance and Forum Relationship
– OSGi Users’ Forum US DC Metro Charter
– Who we are
– What we offer
– Getting Involved
• News and Announcements
• Introduction to OSGi
3. What is the forum all about?
• Members only community
– Not OSGi Alliance Membership
• Membership is free
• Open to end user organizations, individuals,
academic institutions and vendors based in
the US
• Exchange information, knowledge and ideas
around OSGi technology in the US
• Approved by the OSGi Alliance
4. What is the OSGi Alliance?
• OSGi™ - The Dynamic Module System for Java™
• Independent non-profit corporation comprised of
worldwide consortium of technology innovators &
developers
• Focused on interoperability of applications & services
based on its Module System
• Founded in 1998 by IBM, Ericsson, Nortel, Sybase, Sun,
Motorola, Oracle, Nokia, and many others
• Originally was JSR8
• Goal was to develop a standard for home automation
• The Alliance provides specifications, reference
implementations, test suites and certification
5. OSGI Alliance
• Alliance members represent diverse markets
including SmartHome, automotive electronics,
mobile and enterprise
• 3 levels of membership
– Full,
– Adopter Associate,
– Supporter (Free!)
• Further details on OSGi Alliance Membership
at http://www.osgi.org/About/Join
6. Alliance & Forum Relationship
• You don’t have to be an OSGi Alliance Member to
become a member of the OSGi Users’ DC Metro Forum
• Can join either or both
• OSGi Users’ DC Metro Forum does not represent the
OSGi Alliance
• OSGi Users’ DC Metro Forum is not a legal entity
• OSGi Users’ Forum is governed by OSGi Alliance
Trademark Agreement
• OSGi Alliance sets Charter for Worldwide Users’
Forums
7. OSGi Users’ DC Metro Forum Charter
• Set by the OSGi Alliance
1. Promote the OSGi service platform
2. Share experiences of OSGi deployments
3. Encourage business collaboration
8. Who We Are
• Chairman – Paul Hadrosek (iNovex)
• Secretary – Jack Rodriguez (APT)
• Founding Members
– Sam Chance (iNovex)
– Stan Moyer (Telcordia Technologies)
– Eddie Lee (PTFS)
• It’s all of US! It’s up to everyone to participate
9. What we offer
• Forum for interaction between peers interested
in OSGi
• Mail list
• Face to Face meetings – every 3 to 4
months/location
• Announcing interesting OSGi activities
– Conferences
– Meetings
– Training
– Relevant News
10. Thanks for getting involved
• Open Floor later
• We want your input:
– What do you want from the Forum?
– What meeting topics would you like covered?
– Any suggestions?
11. News & Announcements
• OSGi DevCon 2012
– March 26-29, 2012
– Reston, VA
• Users’ Forum DC Metro Meeting at OSGi DevCon
2012
– March 27, 2012
– 7:00
– Reston, VA
– Free to members
• OSGi Training Course - TBA
12. OSGi DevCon
• For more information :
http://www.osgi.org/DevCon2012/HomePage
14. What does OSGi stand for?
• Open Services Gateway initiative
– This abbreviation is no longer used
• “The Dynamic Module System for Java”
– Designed to be light weight and dynamic
– Allows to partition a system into a number of modules
(a.k.a. bundles)
– Strict visibility rules (similar to private and protected)
– Resolution of dependencies and versioning
– Dynamic Modules can be installed, started, stopped,
uninstalled and updated - all at runtime
15. 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 4.0+ publicly available at www.osgi.org
16. OSGi Environment
Bundle
Bundle
Bundle
= service interface
exported and imported Bundle (Application/Service)
by bundles
OSGi
•Open standard and based on Java
•Sits on top of the operating
system (thus is OS independent) Java VM
•Not device or CPU specific.
•Client-server software Operating System
architecture
Driver Driver Driver
Hardware
17. OSGi Framework
• Allows applications to share a single Java VM
• Manages applications
– Life cycle, Java Packages, Security, Dependencies
between applications
• Service registry for collaboration
• Extensive notification mechanism
18. OSGi Bundles
• OSGi specification defines the OSGi as the unit
of modularization
• A bundle is
– Cohesive
– Self-contained unit
• Defines dependencies to other modules/services
• Explicitly defines its external API (interface)
– A jar file with additional meta information stored
in the MANIFEST.MF file
20. Cooperative Model
• Bundles can cooperate through:
– service objects
– package sharing
• A dynamic registry allows a bundle to find and
track service objects
• Framework fully manages this cooperation
– Dependencies, security
21. Service Specifics
• A service is an object registered with the
Framework by a bundle to be used by other
bundles
service
• The semantics and syntax of a service are
specified in a Java interface
22. Services & Java Interfaces
public interface Log {
public void log(String s);
}
Gets from Framework
interface
(with query)
Bundle Log
public class SimpleLog implements Log {
public void log(String s) {
System.out.println( s ); implements
}
}
Simple IBM Motorola
Log Log Log
23. Dependencies
• The Framework manages the dependencies
between bundles
• Bundles that are installed and started will
register services
• Framework will automatically unregister
services when a bundle stops
• Event notifications for all important events
24. Dependencies
Install A
Framework
start Bundle A
{}
Bundle B
{}
events: install
= service, java interface Bundle C
{}
25. Dependencies
Framework
Uninstall
stop Bundle A
{}
Bundle B events:
{} unregister
events: uninstall
= service, java interface Bundle C
{}
26. The Classpath in OSGi
• Each bundle has its own class loader
• Bundles can only shares packages when:
– Import and export clauses in the manifest match
– Have permission to do so for those packages
• The framework manages the overall CLASSPATH for
bundles
• Assures that all bundles use the same class (of the same
version)
• Tracks shared usage of packages between bundles
28. What problems does OSGi solve?
• Visibility By default, a bundle is a black box.
It's completely protected and you can't see
inside it, not even with reflection or any other
classloading trickery. Only exported packages
are visible outside of the exporting bundle.
This stops unintended coupling between
modules, enables independent development,
faster development cycles and security.
29. What problems does OSGi solve?
• Operational Control
An OSGi container allows you to see all modules
and their status - using the OSGi console or JMX.
You can get information on wiring, install new
bundles, activate bundles (and publish services),
deactivate bundles (and unregister services),
refresh bundles, stop bundles and uninstall
bundles. The beauty? You can do all of this
without stopping or restarting the application!
30. Who doing OSGi containers?
• Open-source implementations: Equinox, Felix
(Apache), Knopflerfish
• Significant Enterprise usage: Eclipse,
Netbeans, IBM (WebSphere), Red (Jboss),
Oracle (Glassfish, WebLogic), TIBCO ESB,
WSO2 Carbon, Fuse ESB…
31. Who’s doing frameworks?
• Hitachi provides a complete OSGi solution yet with standards
compliant and potentially independent elements (only vendor
with all 4 elements):
1. JVM Options (to insure broadest availability of ported JVMs and
optimized JVMs):
• SuperJEngine (optimized CVM) (better performance, less memory, non-
open source)
• or Oracle Binary solutions: CDC JVM or JavaSE Embedded (reduce risk; add
value)
2. SuperJFramework (client software) (performance, less memory,
not open source)
• SuperJManagement Agent (links to SJDMS) (meets SPs authentication &
security)
3. SuperJDMS (Management Server) (manage clients/bundles/apps
in device; large scale)
4. SuperJTools (SDK development tools for 3rd party apps) (Eclipse
based)