EclipseRT                  Virgo and Gemini Web                  steve powell spowell@vmware.com                  chris fr...
Agenda                  • OSGi basics                  • Virgo and Gemini at Eclipse                  • A tour of Virgo   ...
OSGi basicsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   3Monday, 22 November 2010            ...
“It’s bundles all the way down”                  • OSGi is a Module System                           A Bundle = a Jar file ...
Services                  • A Bundle can export and consume services                           This happens dynamically at...
Life-cycle                       •        Resolving the dependencies must happen before                                run...
Virgo and GeminiCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   7Monday, 22 November 2010       ...
Virgo                     •        “Dynamic Enterprise Application Platform”                     •        Based on SpringS...
Gemini                  • “Enterprise Modules Project”                  • A collection of OSGi spec implementations       ...
Virgo and EclipseRTCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   10Monday, 22 November 2010   ...
Problems Virgo Solves           ✓Groups bundles into manageable units           ✓Enables the use of existing open source l...
Virgo TourCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   12Monday, 22 November 2010            ...
Virgo ExternalsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   13Monday, 22 November 2010       ...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   14Monday, 22 November 2010                      ...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   15Monday, 22 November 2010                      ...
Artifacts                       • Identified by type, name, version                       • Types:                        •...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   17Monday, 22 November 2010                      ...
Plans                       •        XML                       •        List artifacts by type, name, version (range)     ...
ScopingCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   19Monday, 22 November 2010               ...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   20Monday, 22 November 2010                      ...
Repositories                       • Artifacts indexed by type, name, version                       • Supports queries e.g...
Repository Chaining                                                                               remoteCopyright VMware 2...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   23Monday, 22 November 2010                      ...
PipelinesCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   24Monday, 22 November 2010             ...
Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   25Monday, 22 November 2010                      ...
RegionsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   26Monday, 22 November 2010               ...
Current StatusCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   27Monday, 22 November 2010        ...
Virgo released          • All code in git.eclipse.org repositories                   (see http://wiki.eclipse.org/Virgo/So...
Virgo released...                              • Eclipse Community Forum (Virgo home link)                              • ...
Release Notes                       • Performance improvements (startup,                                logging)          ...
Documentation                       • All updated for 2.1.0.RELEASE:                        • User Guide                  ...
Tools           • SpringSource Tool Suite supports Virgo servers                    out-of-the-box                       •...
Time-line Virgo 2.1.0                                                     logging performance bug                         ...
How can I get started?Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   34Monday, 22 November 2010...
Getting Started                       • Pre-req: Java 6                       • Download and unzip                       •...
...then what?                       • Read documentation                              •        User Guide                 ...
Participants                       • Casual user                       • Expert user                       • Contributor  ...
Committer Skills                       • Know or willing to learn:                        • Clean architecture and code   ...
Work Areas                       • Developer docs, wiki, virgo-dev support                       • Jetty support          ...
Virgo FuturesCopyright VMware 2009, 2010. Licensed under the Eclipse Public License.   40Monday, 22 November 2010         ...
RAP news... (Florian Waibel)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.   41Monday, 22 Novembe...
Tools future                       • donation to Eclipse in progress:                        • Bundlor (standalone as well...
Further Information                  • http://www.eclipse.org/Virgo                  • http://wiki.eclipse.org/Virgo/Commu...
Upcoming SlideShare
Loading in …5
×

Eclipse RT projects Gemini web and Virgo par Steve Powell

2,381 views
2,229 views

Published on

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

No Downloads
Views
Total views
2,381
On SlideShare
0
From Embeds
0
Number of Embeds
221
Actions
Shares
0
Downloads
42
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Eclipse RT projects Gemini web and Virgo par Steve Powell

  1. 1. EclipseRT Virgo and Gemini Web steve powell spowell@vmware.com chris frost cfrost@vmware.com glyn normington gnormington@vmware.comCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 1Monday, 22 November 2010 1
  2. 2. Agenda • OSGi basics • Virgo and Gemini at Eclipse • A tour of Virgo • Current status • How can I get started?Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 2Monday, 22 November 2010 2
  3. 3. OSGi basicsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 3Monday, 22 November 2010 3
  4. 4. “It’s bundles all the way down” • OSGi is a Module System A Bundle = a Jar file = a single module (approx) The Bundle Manifest defines the imports/exports • Many adopters including a lot of Eclipse projects • Defined by the OSGi AllianceCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 4Monday, 22 November 2010 4
  5. 5. Services • A Bundle can export and consume services This happens dynamically at runtime • A service is a Java Object with some properties • Managed by a Service Registry (the Whiteboard pattern)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 5Monday, 22 November 2010 5
  6. 6. Life-cycle • Resolving the dependencies must happen before running a module’s code • starting/stopping/refreshing a module are life-cycle events • OSGi framework offers life-cycle management through services • modules are dynamic • resolved, started, stopped, refreshed at any timeCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 6Monday, 22 November 2010 6
  7. 7. Virgo and GeminiCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 7Monday, 22 November 2010 7
  8. 8. Virgo • “Dynamic Enterprise Application Platform” • Based on SpringSource dm Server 2.0 • not to be confused with Spring DM • Original objectives: • Better OSGi platform; Migration of Java EE apps; Modular and extensible • Virgo objectives: • Broaden exploitation of OSGi; Lower barriers to adoption; Grow committersCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 8Monday, 22 November 2010 8
  9. 9. Gemini • “Enterprise Modules Project” • A collection of OSGi spec implementations • Aims to provide authoritative collection • Main contributors are SpringSource and Oracle • Virgo uses Gemini: web and blueprint supportCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 9Monday, 22 November 2010 9
  10. 10. Virgo and EclipseRTCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 10Monday, 22 November 2010 10
  11. 11. Problems Virgo Solves ✓Groups bundles into manageable units ✓Enables the use of existing open source libraries TCCL, LTW, implicit package use ✓Provisions from repositories ✓Extensive diagnostics resolution failure analysis, deadlock detection, delayed service warningsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 11Monday, 22 November 2010 11
  12. 12. Virgo TourCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 12Monday, 22 November 2010 12
  13. 13. Virgo ExternalsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 13Monday, 22 November 2010 13
  14. 14. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 14Monday, 22 November 2010 14
  15. 15. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 15Monday, 22 November 2010 15
  16. 16. Artifacts • Identified by type, name, version • Types: • bundle - OSGi bundle • configuration - properties file • plan - list of artifacts • ...Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 16Monday, 22 November 2010 16
  17. 17. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 17Monday, 22 November 2010 17
  18. 18. Plans • XML • List artifacts by type, name, version (range) • Scoping • Atomicity • PARs similar • contain artifacts • scoped, atomicCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 18Monday, 22 November 2010 18
  19. 19. ScopingCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 19Monday, 22 November 2010 19
  20. 20. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 20Monday, 22 November 2010 20
  21. 21. Repositories • Artifacts indexed by type, name, version • Supports queries e.g. by version range • Repository types: • External • Watched • Remote • Repositories may be chainedCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 21Monday, 22 November 2010 21
  22. 22. Repository Chaining remoteCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 22Monday, 22 November 2010 22
  23. 23. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 23Monday, 22 November 2010 23
  24. 24. PipelinesCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 24Monday, 22 November 2010 24
  25. 25. Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 25Monday, 22 November 2010 25
  26. 26. RegionsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 26Monday, 22 November 2010 26
  27. 27. Current StatusCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 27Monday, 22 November 2010 27
  28. 28. Virgo released • All code in git.eclipse.org repositories (see http://wiki.eclipse.org/Virgo/Source) • Virgo 2.1.0.RELEASE shipped (1 Nov 2010) • Gemini Web 1.1.0.RELEASE shipped (1 Nov 2010) • All repositories can be checked out and built (SVTs soon) • Virgo Recent Builds availableCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 28Monday, 22 November 2010 28
  29. 29. Virgo released... • Eclipse Community Forum (Virgo home link) • Virgo developer mailing list • Community conference call once a week • Active Bugzilla (currently ~10 bugs; ~60 enh) (bugs.eclipse.org/bugs under RT; the Gemini.Web and Virgo products)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 29Monday, 22 November 2010 29
  30. 30. Release Notes • Performance improvements (startup, logging) • Upgrade dependencies (Equinox; Tomcat; LogBack; Gemini.Web) • Equinox Console extension (vsh) • Bugs and docs improvementsCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 30Monday, 22 November 2010 30
  31. 31. Documentation • All updated for 2.1.0.RELEASE: • User Guide • Programmer’s Guide • Getting Started Guide (featuring GreenPages 2.3.0.RELEASE) • http://www.eclipse.org/virgo/documentation/Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 31Monday, 22 November 2010 31
  32. 32. Tools • SpringSource Tool Suite supports Virgo servers out-of-the-box • STS 2.5.0.RELEASE • http://www.springsource.com/products/sts • ...or add server tool support to Eclipse IDE • http://dist.springsource.com/release/TOOLS/ nightly/e3.6 for dm Server Tools • Including support for plansCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 32Monday, 22 November 2010 32
  33. 33. Time-line Virgo 2.1.0 logging performance bug contributions added: - testcases improve diags in fs failures - OSGi extensions fix undeploy bugs Equinox upgrade releasable kernel slim kernel improve ‘buildability’ Windows startup M05 1 .M0 Rationalise dependencies Code drop remove shell performance M06 .0 add vsh extension logback upgrade RC1 2.2 artifact extension api M01 M02 M03 M04 RELEASE May June July Aug Sept Oct NovCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 33Monday, 22 November 2010 33
  34. 34. How can I get started?Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 34Monday, 22 November 2010 34
  35. 35. Getting Started • Pre-req: Java 6 • Download and unzip • bin/startup.sh or binstartup.bat • drop WAR files or bundles into pickup dir (there are some there already)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 35Monday, 22 November 2010 35
  36. 36. ...then what? • Read documentation • User Guide • Programmer Guide • “Getting Started” Guide • Join the community • http://wiki.eclipse.org/Virgo/CommunityCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 36Monday, 22 November 2010 36
  37. 37. Participants • Casual user • Expert user • Contributor • CommitterCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 37Monday, 22 November 2010 37
  38. 38. Committer Skills • Know or willing to learn: • Clean architecture and code • Unit and integration testing built-in • Concurrency • (Deep) OSGi • git, ant, ivy, etc.Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 38Monday, 22 November 2010 38
  39. 39. Work Areas • Developer docs, wiki, virgo-dev support • Jetty support • p2 integration • More server types built on the kernel • Integration, batch, RAP, ...Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 39Monday, 22 November 2010 39
  40. 40. Virgo FuturesCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 40Monday, 22 November 2010 40
  41. 41. RAP news... (Florian Waibel)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 41Monday, 22 November 2010 41
  42. 42. Tools future • donation to Eclipse in progress: • Bundlor (standalone as well as plugin) • dm Server Tools (Virgo Tools) • including artifact grouping (plans)Copyright VMware 2009, 2010. Licensed under the Eclipse Public License. 42Monday, 22 November 2010 42
  43. 43. Further Information • http://www.eclipse.org/Virgo • http://wiki.eclipse.org/Virgo/Community •#VirgoRT • Download Virgo 2.1.0.RELEASE and try it http://www.eclipse.org/Virgo/downloadCopyright VMware 2009, 2010. Licensed under the Eclipse Public License. 43Monday, 22 November 2010 43

×