Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-12-30 Thread Sergey Beryozkin
Hi, this demo is on the trunk now, I tested it and it worked fine Thanks for this contribution, Cheers, Sergey On 16/12/11 22:34, K Fung wrote: Hello, I'm sorry - I should've put it into 2.5.1 - but it will definitely make it into 2.5.2 - and I hope it would be of interest to users. No

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-12-19 Thread Sergey Beryozkin
Hi, On 16/12/11 22:34, K Fung wrote: Hello, I'm sorry - I should've put it into 2.5.1 - but it will definitely make it into 2.5.2 - and I hope it would be of interest to users. No worries Sergey. Thanks for all your helpful suggestions and guidance while I worked on this in 2 week spurts.

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-12-16 Thread K Fung
Hi Sergey, I've uploaded the final version (for now) to CXF-3859. I've bumped up the version to 2.5.2-SNAPSHOT and commented out the Apache Snapshot repository. Hopefully, this meets the quality bar for commit :-) I did investigate creating the JAXRSServerFactoryBean directly (instead of

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-12-16 Thread K Fung
Hello, I'm sorry - I should've put it into 2.5.1 - but it will definitely make it into 2.5.2 - and I hope it would be of interest to users. No worries Sergey. Thanks for all your helpful suggestions and guidance while I worked on this in 2 week spurts. It took us countless hours and much

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-12-02 Thread K Fung
Hi Sergey, Adding Dynamic-Import: * would likely resolve the issue. It also makes any package/class name resolution a lot slower because all the OSGI bundles will basically now be a gigantic class path. I would not be inclined to go down this route. I've uploaded a new version to CXF-3859. I've

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-24 Thread Sergey Beryozkin
Hi KL On 23/11/11 16:02, K Fung wrote: Hi Sergey, I'm wondering if 'minimalosgi' has to be exported ? I tried this before and it didn't work. minimalosgi has one classloader; the CXF bundle has its own classloader. minimalosgi's classloader has knowledge about CXF (due to the Import-Package

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-23 Thread Sergey Beryozkin
Hi KL On 19/11/11 17:20, K Fung wrote: Hi Sergey, I've updated CXF-3859 with my newest iteration of the code :-) great Here is what has changed in this version... + Removed use of java.net repository as mail.jar is no longer a required dependency + Bump version to 2.5.1-SNAPSHOT + Use

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-23 Thread K Fung
Hi Sergey, I'm wondering if 'minimalosgi' has to be exported ? I tried this before and it didn't work. minimalosgi has one classloader; the CXF bundle has its own classloader. minimalosgi's classloader has knowledge about CXF (due to the Import-Package declarations in its MANIFEST.MF) but CXF

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-19 Thread K Fung
Hi Sergey, I've updated CXF-3859 with my newest iteration of the code :-) Here is what has changed in this version... + Removed use of java.net repository as mail.jar is no longer a required dependency + Bump version to 2.5.1-SNAPSHOT + Use org.codehaus.mojo:exec-maven-plugin instead of run.* +

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-14 Thread Sergey Beryozkin
Hi KL, (sorry if it's not a complete name :-)) On 12/11/11 06:28, K Fung wrote: Hi Sergey, Nope, you haven't discouraged me :-) It was good feedback and I'm taking it in for my next round of revision. Unfortunately, I haven't had a lot of time to put into it but I should be able to make

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-11 Thread Sergey Beryozkin
Hi, how is your demo going, hope I haven't discouraged with my comments :-) Sergey On 19/10/11 10:28, Sergey Beryozkin wrote: By the way, at the next stage we can also probably create the Activator part in the jaxrs fronentend/osgi - this can be optionally enabled and what it will do it will

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-11 Thread K Fung
Hi Sergey, Nope, you haven't discouraged me :-) It was good feedback and I'm taking it in for my next round of revision. Unfortunately, I haven't had a lot of time to put into it but I should be able to make another pass at it toward the end of November. I'm keen on continuing to work on this as

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-18 Thread Sergey Beryozkin
Hi Thanks for this patch, I think it's a nice interesting example, shows the bare Activator and ServiceTracker in action... Please see comments inline On 18/10/11 05:28, K Fung wrote: Hi all, I've uploaded the initial code sample to https://issues.apache.org/jira/browse/CXF-3859 to garner

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-17 Thread K Fung
Hi all, I've uploaded the initial code sample to https://issues.apache.org/jira/browse/CXF-3859 to garner the first round of feedback. Per request, it includes a README to explains how it works. In particular, I'm looking feedback for the following issues: - What's your opinion to using the

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-09 Thread K Fung
Hi Sergey, I should clarify that I'm not avoiding the use of Apache ServiceMix bundles - in fact we do have to use them. I'm just illustrating what's the minimal set need to get JAX-RS running. Cheers, kl On Sun, Oct 9, 2011 at 8:29 AM, Sergey Beryozkin sberyoz...@gmail.com wrote: Hi - On

How to contribue a CXF JAX-RS OSGi Sample?

2011-10-07 Thread K Fung
Hi everyone, (long time lurker here ... thought it was about them we started to contribute something back) As everyone who's played with CXF JAX-RS and OSGI knows, it's not too easy to get CXF and OSGI to co-operate outside of the Apache ServiceMix bundle/example. I've been sitting on a CXF

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-07 Thread Sergey Beryozkin
Hi I think I like all the options you suggested :-) Please see comments inline On 07/10/11 19:51, K Fung wrote: Hi everyone, (long time lurker here ... thought it was about them we started to contribute something back) As everyone who's played with CXF JAX-RS and OSGI knows, it's not too

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-07 Thread K Fung
Hi Sergey, Thank you for the feedback. I'll work on getting the code compilable in the examples folder and then submit a JIRA task to track its submission into trunk. I'll definitely include a README to talk about it does (which I presume will be the basis for the wiki page). The initial scope