Extension Points and OSGI services, what’s the difference?

If you are new to Eclipse you may have heard of Extension Points and OSGI services.  Then, when you learn what each of them are you might ask yourself “Why two ways to provide extensibility at the code level?”.  I have been asked this many times over the years and my responses are probably more confusing than helpful.  Neil Bartlett has an excellent article about this and it is a must read.  Why is this important?  Well, if you are following the Domino server and other server based technologies you hear about “we support OSGI services” – that means that services, not extension points, are supported.  My attachment viewer is another good example.  I want my conversion/preview servlet to be used both from a Domino Server side and from a local web container side.   Given that, OSGI services is the choice!

More to come on that…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s