OSGi Mars World in Action

2,651 views
2,408 views

Published on

Published in: Technology, Education
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,651
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
18
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

OSGi Mars World in Action

  1. 20 12OSGi Mars World inAction Christian Baranowski
  2. Welcome • Christian Baranowski • Software Qualitätssicherung @ SEITENBAU Gmbh Konstanz (DE) • Custom Software Solutions • E-Government Solutions • Identity Management and SSO Solutions • www.seitenbau.de • Vorstand OSGi Users Forum Germany • Co-lead (mit Jochen Hiller) German Enterprise Working Group. • OSGi Code Camp
  3. OSGi
  4. OSGiModularity Modules
  5. OSGiModularity Modules Lifecycle
  6. OSGi A Service BModularity Modules Lifecycle Services
  7. OSGi A Service BModularity Modules Lifecycle Services Security
  8. OSGi ist
  9.  ein
  10.  offener
  11.  Standard
  12.  der
  13.   A Service BModularity Modules Lifecycle Services Security
  14. OSGi Specification World OSGi Core Version 4.3 / R5
  15. OSGi Specification World Compendium Specification Version 4.3 OSGi Core Version 4.3 / R5
  16. OSGi Specification World OSGi Enterprise Version R5 Compendium Specification Version 4.3 OSGi Core Version 4.3 / R5
  17. OSGi Specification WorldOSGi Applications OSGi Enterprise Version R5 Compendium Specification Version 4.3 OSGi Core Version 4.3 / R5
  18. Open Source OSGi Frameworks Core Enterprise Compendium Apache Felix (ASL) Apache Aris (ASL) http://felix.apache.org/ http://aries.apache.orgEclipse Equinox (EPL) Eclipse Gemini (EPL) http://eclipse.org/equinox/ http://www.eclipse.org/gemini/
  19. Bundle Private
  20.  PackagesImported
  21.   Exported
  22.  Packages Packages JAR
  23. Modularity Demo Extender World Desktop Box APIArch Provisioning
  24. Extender Pattern OSGi Frameworklisten Bundle A Extender Bundle B Matching Bundles Bundle C do work for Bundle Bundle D Non-matching Bundle
  25. OSGi ServicesProvider
  26.  Bundle Consumer
  27.  Bundle API
  28.  Bundle
  29. OSGi ServicesProvider
  30.  Bundle Consumer
  31.  Bundle Service API
  32.  Bundle
  33. OSGi ServicesProvider
  34.  Bundle Consumer
  35.  Bundle Service API
  36.  Bundle
  37. OSGi ServicesProvider
  38.  Bundle Consumer
  39.  Bundle Service Instance
  40.  Coupling API
  41.  Bundle
  42. Service Registry Provider Name Value type api.Echo - register availavility 5 - unregister Consumer Name Value - get - listen type api.Echoavailavility 5 Service Registry ... ...
  43. Demo OSGi Services World Desktop APIWall Sensor Robot devices
  44. Demo OSGi Declarative Services Provider
  45.  Bundle Consumer
  46.  Bundle Service API
  47.  Bundle scr:component name=InfoConsumerscr:component name=InfoProvider implementation class=..InfoConsumer/ implementation class=..RobotInfoComponent/ reference name=RobotInformation service interface=.. RobotInformation provide interface=..RobotInformation / bind=setInfo unbind=unsetInfo / /service /scr:component/scr:component
  48. DS Annotation Provider
  49.  Bundle Consumer
  50.  Bundle Service API
  51.  Bundle @Component public class SysoutRobotInformation {@Component public class RobotInformationComponent implements RobotInformation { RobotInformation information; ListString robotNames = new ArrayListString(); @Reference public void setInformation(RobotInformation i) { @Reference(multiple=true, dynamic=true) this.information = i; public void addRobot(Robot robot) { } robotNames.add(robot.getName()); } @Reference public void unsetInformation(RobotInformation i) { public void removeRobot(Robot robot) { this.information = null; robotNames.remove(robot.getName()); } } } @Override public ListString getRobotNames() { return robotNames; }}
  52. Demo ModelingDynamic with OSGi
  53. Enterprise OSGi
  54. DemoWeb Application Bundle
  55. DemoJDBC Service TM Specification
  56. Demo JPA ServiceSpecification
  57. OSGi Tooling...
  58. BndtoolsInstant Builder Repositories OBR ResolvingImport Analysis Semantic Versioning Integrated Testing
  59. QATwitter @tux2323 References Simbad 3D Robot Simulator - http://simbad.sourceforge.net/ OSGi in Action (ISBN 1933988916) Richard S. Hall, Karl Pauls, Stuart McCulloch, and David Savage Why OSGi? BJ Hargrave (IBM), Peter Kriens (aQute) http://www.slideshare.net/bjhargrave/why-osgi Bndtools - http://bndtools.org/ OSGi Demo Mars Robot Project http://code.google.com/a/eclipselabs.org/p/occ/

×