Part 8 - Enforcing modularity of JasForge using OSGI and Futures Evolutions

987 views

Published on

Part 8 : Enforcing modularity of JasForge using OSGI and Futures Evolutions

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

  • Be the first to like this

No Downloads
Views
Total views
987
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Part 8 - Enforcing modularity of JasForge using OSGI and Futures Evolutions

  1. 1. Part 8: Enforcing modularity of JasForge using OSGI and Futures Evolutions March 2011 Santa Clara Karim DJAAFAR CO of Jasmine Conseil
  2. 2. OSGI : BRIEF RECALL
  3. 3. What is OSGi Specification ? <ul><li>Delivered by the OSGi Alliance (Open group of technology companies including Ericsson, IBM, Sun Microsystems, Nokia, Intel, BMW, and Philips) </li></ul><ul><ul><li>Originally for embedded devices, set top boxes, network </li></ul></ul><ul><li>Architecture for modular application development in Java </li></ul><ul><ul><li>Breaks applications into “modules” or “bundles” </li></ul></ul><ul><li>Can install, uninstall, start, and stop each bundle dynamically without restarting container </li></ul><ul><ul><li>Multiple versions are supported </li></ul></ul><ul><li>Dependencies explicitly defined with clear boundaries </li></ul>
  4. 4. “ JAR Hell” <ul><li>JAR is a build-time and deploy-time concept, not run-time </li></ul><ul><ul><li>Based on the ZIP file format </li></ul></ul><ul><li>No metadata to indicate dependencies </li></ul><ul><li>Multiple versions of JARs cannot be loaded </li></ul><ul><li>All “public” classes are public </li></ul><ul><ul><li>Access modifiers are for packages, not JAR </li></ul></ul>
  5. 5. 17 .MF . . . . . . Java Classes, Static Files, ... META-INF/MANIFEST .MF Import-Package . . . . . . Service Client Java Classes, Static Files, ... META-INF/MANIFEST Export-Package
  6. 6. Bundle State Diagram
  7. 7. OSGi open source containers <ul><li>Equinox ( http://www.eclipse.org/equinox/ ) </li></ul><ul><ul><li>currently the reference implementation of the OSGi Release 4 specification </li></ul></ul><ul><li>Apache Felix ( http://felix.apache.org/ ) </li></ul><ul><ul><li>Implemented in the Glassfish V3 Prelude JEE Server </li></ul></ul><ul><li>Spring DM ( http://www.springsource.org/osgi ) </li></ul><ul><ul><li>allows you to build SOA Spring applications that can be deployed in an OSGi container </li></ul></ul><ul><li>Apache Karaf : http://karaf.apache.org/ </li></ul><ul><ul><li>A Newcomer ! a small OSGi based runtime which provides a lightweight container onto which various components and applications </li></ul></ul>
  8. 8. JASFORGE © NEXT EVOLUTION
  9. 9. <ul><li>JasForge Agile Tools will be available as bundles in a OSGI container (Spring DM) </li></ul><ul><li>jasForge projects will be “OSGI ready” thanks to use of Maven OSGI integration </li></ul><ul><li>You will easily monitor your tools as services and enhance the monitoring of the overall infrastructure thanks to OSGI specification supported by light OSGI container like Spring Dynamic Modules for OSGI Service Platforms </li></ul><ul><li>Tools will be available as service bundles </li></ul>JasForge © OSGI compliant and Update Managment
  10. 10. JasForge © OSGI compliant and Update Managment <ul><li>This release will provide better separation of modules and the ability to stop/start/remove/update OSGI compatible tools on JasForge OSGI compatible platform </li></ul><ul><li>An update installer which facilitate the localization and update of your tools will be also available in our roadmap </li></ul>
  11. 11. Conclusion <ul><li>JasForge is an Agile and Open Source Platform for managing all the life cycle of your Agile JEE project. </li></ul>Collaborative Platform for agile team Pluggable and extensible Software Factory Cover all the life cycle of a JEE Project Based on Standard and Open Source tools
  12. 12. Thank you for your Attention JasForge: A Jasmine Conseil concept http://www.jasmineconseil.com Need More information ? [email_address] Download the Presentation: http://moneclipse.com/products/download/pres/JasForgeEclipseSummit2010.ppt

×