Hi Guys,
IIRC there's no special reason that we use the Geronimo locator.
At the moment when I added jaxws-api 2.2 bundle, I found that geronimo-
jaxws_2.2_spec.jar is already OSGi friendly and has the locator thing
there, but import javax.xml.namespace with version="1.0", which
prevent us to use the one from system bundle, so I simply wrap it to
fix the javax.xml.namespace with version="1.0" issue.
I'll change that bundle to use SMX OSGi locator to keep consistent.
Freeman
On 2011-10-24, at 下午10:24, Gert Vanthienen wrote:
L.S.,
Personally, I don't think this was intentional - at least, I don't
recall
any discussion about switching back to the Geronimo implementation
so I'm
guessing we just picked the wrong implementation when we noticed the
two
OSGi activator implementations in the resulting JAR. Unless Freeman
or
someone else knows about a good reason to stick with the Geronimo
implementation, it looks like it would be both more consistent and
easier
(i.e. not opt-in required) to switch to the ServiceMix
implementation for
everything.
Regards,
Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
On Mon, Oct 24, 2011 at 3:51 PM, Guillaume Nodet <[email protected]>
wrote:
It seems the JAXWS-API 2.2 spec uses a quite different mechanism
than all
other specs.
It embeds the Geronimo osgi bits for specs, while all other usually
use the
ServiceMix one (the osgi locator).
In addition to be incoherent, those specs also use a slightly
different
mechanism, as providers have to opt-in by adding an osgi header.
Is there any reason for not using the same mechanism as for other
specs ?
--
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com