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
subclassing CXFNonSpringJaxrsServlet). If I went down this route, I would
have had to include a dependency on Jetty directly (as the traffic wouldn't
be provided via the OSGI HttpService) or duplicate much of the servlet code
in CXFNonSpringJaxrsServlet. In the end, I decided that it just wasn't
worth it.

Cheers,
kl

On Mon, Dec 5, 2011 at 9:39 AM, Sergey Beryozkin <sberyoz...@gmail.com>wrote:

> Hi KL
>
>
> On 03/12/11 00:50, K Fung wrote:
>
>> 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 updated the code so that it
>> compiles in Java 5 (turns out this wasn't too hard once I figured how
>> ServiceMix got it to work) and now when you compile the samples pom.xml,
>> it'll also compile the JAX-RS Minimal OSGI sample.
>>
>> The final things on my TODO list are to investigate how to avoid using my
>> own special servlet and the removal the snapshot repository. For the
>> latter, I'll likely just comment this out since it turns out that in the
>> samples pom.xml, snapshots are enabled.
>>
>
> Please try commenting it out. It seems like it's ready for a commit,
>
> thanks, Sergey
>
>
>
>
>> Regards,
>> kl
>>
>>
>

Reply via email to