[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ecf-dev] distribution providers
|
Hi Folks,
Over the past few weeks, I've used the new ECF 3.11.0 provider API to
create several new providers. First, I've created several providers
based upon Jax Rest Services (Jax RS) specification...specifically the
implementations from Jersey, CXF, and started one based upon RestEasy.
I designed these bundles to reuse common classes (dependent upon
Jax-RS...e.g. javax.ws.rs packages) so that it's now much easier to
introduce additional Jax-RS implementations (e.g. Restlet).
These JaxRS-based providers are in this repo [1], along with some examples.
I've also created some tutorials [2] describing how REST-standards-based
remote services can easily be created...and be completely independent of
any REST implementation, or even any remote services implementation.
I would like to request assistance from other committers and/or ECF
contributors in setting up the build/distribution meta-data for these
projects, so that we can build them and make them available as
bundles. The various Jax-RS implementations are relatively large (e.g.
Jersey, CXF, etc) and have quite a few dependencies of their own. The
good news is that at least Jersey bundles are available from Orbit, the
bad news is that the version in Orbit needs to be upgraded and the
original Orbit contributor needs some assistance with an upgrade of the
Jersey version in Orbit.
CXF is distributed as bundles, but it's not in Orbit. It is in maven
repos, as are most or maybe all of it's dependencies. It has a
significant number of dependencies and so getting all the versions
correct, etc. could be an effort for someone not familiar with CXF
internals.
As you can tell, there's a fair amount to do to build and deploy these
providers, provide a way for consumers to install all dependencies (via
both p2 repo and Karaf features). I request some help with that, as it
would be very nice for people to be able to easily switch among several
distribution providers for their remote services.
Thanksinadvance for your contributions.
Scott
[1] https://github.com/ECF/JaxRSProviders
[2]
https://wiki.eclipse.org/Tutorial:_Using_REST_and_OSGi_Standards_for_Micro_Services
https://wiki.eclipse.org/Tutorial:_Exposing_a_Jax_REST_service_as_an_OSGi_Remote_Service