Comming back to the subject from yesterday's conference. Here is an
extract from Peter Kriens article, an Equinox commiter,
http://www.osgi.org/blog/2006/01/eclipse-corona-project-distributed.html
"Extension points used to have the advantage of lazy initialization,
that is, no class loader of the provider was created until the provider
was used. Originally extension points were a pure Eclipse feature but
the Equinox team has ported this to a bundle so all OSGi Service
Platforms can use this mechanism. However, declarative services
provide
a better solution today, extension point are an Eclipse 2.0 legacy. "
It seems that even though we use extension points, it can be used by
any OSGi plantform if it uses the bundle for it. But should we rather
use declarative services? I'm not that much into declarative services,
but based on what I know it seems that extension points have more power
in terms of "lazy initialization".
Marcin
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
|