<ul>Virgo 3.0 What's New! </ul><ul>Christopher Frost SpringSource, a division of VMware 21 st  September 2011 </ul><ul>OSG...
Agenda <ul><li>Extra Modular with Regions
Virgo 3.0 – What New
Snaps
Virgo & OSGi Tooling
Coming Soon
Questions </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved  </ul><ul>Page  </ul>
Regions – Background <ul><li>Module granularity: Class, Bundle, ?
Need higher level scoping construct than a bundle
Simpler management of large applications
[see Subsystems RFC 152 for more background] </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reser...
Regions – Scoping in Virgo <ul><li>Region scoping - Kernel Space vs User Space
Application scoping </li><ul><li>PARs and scoped Plans
Metadata rewriting for bundle/package scoping
Service registry hooks for service scoping </li></ul></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Re...
Regions – Composite Bundles & Nested Frameworks <ul><li>Idea to make a group of bundles like a single bundle
Explored by OSGi
Prototyped in Equinox
Exploited in Virgo 2.1.x
Difficulty standardising in a framework neutral way
Spec [RFC 138] replaced by framework hooks
Equinox prototype deprecated </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved  </ul><ul>Pa...
Regions – Framework Hooks <ul><li>Resolver hook, bundle find/event hooks [see R4.3 core spec for details]
Similar to service registry find/event hooks which do the same for services
Control the visibility of bundles, packages, generic capabilities </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2...
Regions – Hook Usability <ul><li>Service Find and Event hooks
Upcoming SlideShare
Loading in...5
×

Virgo 3.0 from OSGi Community Event 2011 at Darmstadt

920
-1

Published on

What's new in Virgo 3.0 with a focus on Regions for greater modularity and Snaps for breaking up web apps. www.eclipse.org/virgo

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

  • Be the first to like this

No Downloads
Views
Total Views
920
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Virgo 3.0 from OSGi Community Event 2011 at Darmstadt

  1. 1. <ul>Virgo 3.0 What's New! </ul><ul>Christopher Frost SpringSource, a division of VMware 21 st September 2011 </ul><ul>OSGi Alliance Marketing © 2008-2010 . All Rights Reserved </ul><ul>Page </ul>
  2. 2. Agenda <ul><li>Extra Modular with Regions
  3. 3. Virgo 3.0 – What New
  4. 4. Snaps
  5. 5. Virgo & OSGi Tooling
  6. 6. Coming Soon
  7. 7. Questions </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  8. 8. Regions – Background <ul><li>Module granularity: Class, Bundle, ?
  9. 9. Need higher level scoping construct than a bundle
  10. 10. Simpler management of large applications
  11. 11. [see Subsystems RFC 152 for more background] </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  12. 12. Regions – Scoping in Virgo <ul><li>Region scoping - Kernel Space vs User Space
  13. 13. Application scoping </li><ul><li>PARs and scoped Plans
  14. 14. Metadata rewriting for bundle/package scoping
  15. 15. Service registry hooks for service scoping </li></ul></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  16. 16. Regions – Composite Bundles & Nested Frameworks <ul><li>Idea to make a group of bundles like a single bundle
  17. 17. Explored by OSGi
  18. 18. Prototyped in Equinox
  19. 19. Exploited in Virgo 2.1.x
  20. 20. Difficulty standardising in a framework neutral way
  21. 21. Spec [RFC 138] replaced by framework hooks
  22. 22. Equinox prototype deprecated </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  23. 23. Regions – Framework Hooks <ul><li>Resolver hook, bundle find/event hooks [see R4.3 core spec for details]
  24. 24. Similar to service registry find/event hooks which do the same for services
  25. 25. Control the visibility of bundles, packages, generic capabilities </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  26. 26. Regions – Hook Usability <ul><li>Service Find and Event hooks
  27. 27. Bundle Resolver, Find and Event hooks
  28. 28. Hard to ensure consistent behaviour across hooks
  29. 29. Need higher level abstraction
  30. 30. Region digraph </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  31. 31. Regions – Region Digraph <ul><li>A directed graph of &quot;regions&quot;
  32. 32. A region is a group of bundles
  33. 33. Regions may be connected by directed arcs
  34. 34. Each directed arc has a filter which controls visibility: </li><ul><li>bundles
  35. 35. packages
  36. 36. services
  37. 37. generic capabilities </li></ul></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  38. 38. Regions – Region Digraph <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  39. 39. Regions – Region Digraph <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  40. 40. Regions – Region Digraph (cont.) <ul><li>Developed as part of Virgo
  41. 41. Formal model in Z
  42. 42. Seen to be useful outside Virgo
  43. 43. Moved to Equinox
  44. 44. Used by Virgo 3.0
  45. 45. Likely to be used by Apache Aries </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  46. 46. Regions & Subsystems <ul><li>OSGi standard multi-bundle scoping mechanism
  47. 47. Work in progress (Grahams Talk earlier), public draft soon
  48. 48. Inspired by </li><ul><li>Virgo regions & scopes
  49. 49. Apache Aries applications
  50. 50. Apache Felix Karaf features
  51. 51. Newton systems
  52. 52. Eclipse features
  53. 53. Deployment Admin deployment packages </li></ul><li>Virgo likely to implement subsystems in a future release </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  54. 54. Virgo 3.0 – Regions <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  55. 55. Virgo 3.0 – What's new <ul><li>Snaps gets its first release
  56. 56. Servlet 3.0 with Tomcat 7.x
  57. 57. Gemini.Web, strict compliance to OSGi web container spec
  58. 58. Jetty version
  59. 59. Regions have replaced Nested Frameworks
  60. 60. New Shell based on Apache GoGo
  61. 61. Updated sample application, Greenpages
  62. 62. Spring 3.0.5.RELEASE & Equinox Indigo
  63. 63. Declarative Service & Log Service support
  64. 64. Lots of Bugfixes etc... </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  65. 65. Virgo 3.0 – Demo <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  66. 66. Snaps – Modular Web Apps <ul><li>Some features tidied up
  67. 67. Documentation written
  68. 68. Single sample app showing everything Snaps can do
  69. 69. All available in a Zip from the Virgo website </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  70. 70. Snaps – Basics <ul><li>Lots of Snaps (Web Application Bundles)
  71. 71. Snaps have the hosts ServletContext
  72. 72. Uses a filter to dispatch requests from the host
  73. 73. Everything else is business as normal </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  74. 74. Snaps – Nested Context Paths /app/orders /app/billing <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  75. 75. Snaps – A filter for Snaps <ul><li>Still just web.xml
  76. 76. Define the subpath for Snaps with a filter </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  77. 77. Snaps – Manifest <ul><li>Attaching Snaps to hosts </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  78. 78. Snaps – Taglibs <ul><li>JSP tag to look up slices & their properties </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  79. 79. Snaps – Host Properties <ul><li>Looking up resources & properties from the host </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  80. 80. Snaps – Demo <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  81. 81. Virgo Tooling <ul><li>Donated to Eclipse Virgo and Libra
  82. 82. Tooling - 1 st milestone, lots still changing
  83. 83. The Dependency on STS/Spring IDE is going
  84. 84. Bundlor – Manifest generation tool
  85. 85. To have a play, see http://wiki.eclipse.org/Virgo/Tooling </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  86. 86. Virgo Future <ul><li>New Web Admin Console
  87. 87. P2 integration
  88. 88. Subsystems
  89. 89. Tooling
  90. 90. Cloud
  91. 91. ??? </li></ul><ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  92. 92. Questions <ul>OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved </ul><ul>Page </ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×