Eclipse Extensions Vs OSGI Services Tikal@ EclipseDemoCamps Tel Aviv

1,083 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
1,083
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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 |

×