Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Eclipse Extensions Vs OSGI Services Tikal@ EclipseDemoCamps Tel Aviv

1,190 views

Published on

Published in: Technology, Travel
  • Be the first to comment

  • Be the first to like this

Eclipse Extensions Vs OSGI Services Tikal@ EclipseDemoCamps Tel Aviv

  1. 1. Eclipse Extensions vs. OSGI Services by N.Fastovsky
  2. 2. Comparison EXTENSION POINTS OSGI SERVICES XML based (PDE tool Programmatic support) (Service is a POJO) Static – “stale data” Dynamic (NPE & issues Multi-Thread issues) Coupling – “one-to- NO Coupling – many” “many-to-many” Copyright 2009 Tikal Knowledge, Ltd. | 2 |
  3. 3. Copyright 2009 Tikal Knowledge, Ltd. | 3 |
  4. 4. CLI Service Example Copyright 2009 Tikal Knowledge, Ltd. | 4 |
  5. 5. Declarative Services 1. Separation of concerns: Service logic vs. Service installation/management 2. Configuration: Optional vs mandatory. Unary vs multiple. Static vs dynamic Copyright 2009 Tikal Knowledge, Ltd. | 5 |
  6. 6. Declarative Services Copyright 2009 Tikal Knowledge, Ltd. | 6 |
  7. 7. Rules of thumb Building an RCP/Plug-in – go with extensions (stable, PDE, Single registry) Hot deployment/Dynamic updates – services. Quick & Dirty or Within your domain – services Copyright 2009 Tikal Knowledge, Ltd. | 7 |
  8. 8. Running Eclipse Headless Copyright 2009 Tikal Knowledge, Ltd. | 8 |
  9. 9. CLI SERVICE EXAMPLE Copyright 2009 Tikal Knowledge, Ltd. | 9 |

×