OSGi

1,685 views

Published on

A brief presentation of OSGi.

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

  • Be the first to like this

No Downloads
Views
Total views
1,685
On SlideShare
0
From Embeds
0
Number of Embeds
1,060
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide









  • OSGi

    1. 1. OSGi
    2. 2. Me • Alban Seurat • Application architect • http://www.alkpone.com/
    3. 3. What OSGi is for? • Resolve jar hells • In-JVM Service Oriented Architecture • Common concerns standartized (logging, configuration, http, security, user prefs, ...) • Enforce component development approach • Dynamic component life cycle: no need to restart
    4. 4. What is OSGi? • De-Facto industry standard • Modularity at the JVM level (jar) • Module life-cycle managment (start, stop,...) • Service Registry • Dependency management / librairies versionning
    5. 5. Bundles • What is a bundle ? • Group of java classes and additionnals resources (jar) • Describe inbound and outbound dependencies in the manifest • Services for sophiscated behaviours • Aggregated as a component
    6. 6. Life-Cycle • Bundles / jars are installed / resolved (dependencies) / active ... • Life-Cycle operations are fully protected with the embedded security
    7. 7. Services • Service contract are specified by java interface • Bundles can implement these interfaces and register them with the service registry • Clients of the service use the registry, or listen to events of de/registration. • Standard Services provided : Logging, Configuration, http, …
    8. 8. What’s next ? • OSGi Release 4.2 (R4.2): September 2009 • OSGi Enterprise 4.2: Mars 2010 • Distributed OSGi: • No Code change • Service exposed over the network • Distributed Service Registry
    9. 9. Question/Answer?

    ×