RE: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Sergey Beryozkin
jmholtz...@gmail.com [mailto:jmholtz...@gmail.com] On Behalf Of Josh Holtzman Sent: 31 August 2009 13:04 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi This works when specifying a single property, but not as an array. In other words, this is fine: bu

RE: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Sergey Beryozkin
Missed 'would result in the array value being passed'... -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 31 August 2009 13:10 To: dev@cxf.apache.org Subject: RE: Integrating JAX-RS runtime into DOSGi Ok, I d

RE: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Sergey Beryozkin
04 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi This works when specifying a single property, but not as an array. In other words, this is fine: but this does not work: org.whatever.MyJaxRsReaderWriter, org.whatever.SomeOtherReaderOrWriter I seem t

Re: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Josh Holtzman
on > (single or multi) that you use... > > thanks, Sergey > > -Original Message- > From: jmholtz...@gmail.com [mailto:jmholtz...@gmail.com] On Behalf Of > Josh Holtzman > Sent: 31 August 2009 10:38 > To: dev@cxf.apache.org > Subject: Re: Integrating JAX-RS run

RE: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Sergey Beryozkin
36 To: dev@cxf.apache.org Subject: RE: Integrating JAX-RS runtime into DOSGi Hi I've implemented just now on the trunk. I have the unit test only assuming that the calling BundleContext will be used to load the classes - can you please verify it? I'm not sure when exactly the Hudso

RE: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Sergey Beryozkin
n Sent: 31 August 2009 10:38 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi I'm using declarative services to register my endpoints, so it would be useful for me to specify the provider property using class names rather than instances in the service properties. Perhaps

Re: Integrating JAX-RS runtime into DOSGi

2009-08-31 Thread Josh Holtzman
would be of help. > > thanks for your help > > Sergey > > - Original Message ----- From: "Josh Holtzman" > > To: > Sent: Wednesday, August 26, 2009 5:37 PM > > Subject: Re: Integrating JAX-RS runtime into DOSGi > > > Bah, my isReadable and isWri

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Sergey Beryozkin
tances on a per-endpoint basis with jaxrs:endpoints then it would be of help. thanks for your help Sergey - Original Message - From: "Josh Holtzman" To: Sent: Wednesday, August 26, 2009 5:37 PM Subject: Re: Integrating JAX-RS runtime into DOSGi Bah, my isReadable and isWri

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Josh Holtzman
o ping you on #cxf but somehow I lost the connection > - Original Message - From: "Josh Holtzman" > > To: > Sent: Wednesday, August 26, 2009 5:02 PM > Subject: Re: Integrating JAX-RS runtime into DOSGi > > > > Great, thanks Sergey. I just

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Sergey Beryozkin
utuon ? I'll look into it... cheers, Sergey P.S. was about to ping you on #cxf but somehow I lost the connection - Original Message - From: "Josh Holtzman" To: Sent: Wednesday, August 26, 2009 5:02 PM Subject: Re: Integrating JAX-RS runtime into DOSGi Great, thanks S

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Josh Holtzman
Great, thanks Sergey. I just tried this, and wasn't able to read/write an arbitrary object. I've registered a MessageBodyReader and a MessageBodyWriter (actually, the same object) like so: FooXmlReaderWriter fooReaderWriter = new FooXmlReaderWriter(); context.registerService(MessageBodyR

Re: Integrating JAX-RS runtime into DOSGi

2009-08-25 Thread Sergey Beryozkin
Hi Josh I've updated the JAX-RS layer in DOSGi such that it will now discover JAXRS (and CXF specific providers) which have been registered as (global) OSGI services. At the moment I've decided not to use a ServiceTracker and instead a calling BundleContext is asked to exercise a filter expressio

Re: Integrating JAX-RS runtime into DOSGi

2009-08-22 Thread Josh Holtzman
Hi Sergey. Yes, we are using JAXB with both JAX-RS and JAX-WS endpoints. Josh On Aug 21, 2009 6:28 PM, "Sergey Beryozkin" wrote: Hi Josh Can you please let me know if JAXB is being used for your JAX-RS endpoints ? I've spotted that for HTTP Service based JAX-RS endpoints no AegisProvider is be

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread Demetris
Ok - for whoever will actually read this email - sorry it's late so my previous email may be a bit confusing. The project I mentioned (included the link) and the Apache CXF Distributed OSGi seem to share similarities but the person who is working on that MS thesis is not really making a stron

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread Demetris
After looking at the project I mentioned - here is the article here on their web site: (http://www.dosgi.com/distributed-osgi-webservices-articles-list/39-distributed-osgi-webservices-articles-category/55-initial-idea-distributed-osgi-through-web-services.html) it seems that the similarities be

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread D G
Ok so that's it - perfect thanks Sergey On Aug 21, 2009, at 3:40 PM, Sergey Beryozkin wrote: Hi Have a look here please http://cxf.apache.org/distributed-osgi.html cheers, Sergey Demetris G wrote: Hey Sergei and Josh Is the DOSGi you are referring in the essay of an email below

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread Sergey Beryozkin
Hi Have a look here please http://cxf.apache.org/distributed-osgi.html cheers, Sergey Demetris G wrote: > > Hey Sergei and Josh > > Is the DOSGi you are referring in the essay of an email below the > Masters thesis I read once (and it became an open source branch of an > apache projec

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread D G
Hey Sergei and Josh Is the DOSGi you are referring in the essay of an email below the Masters thesis I read once (and it became an open source branch of an apache project) or is this a separate design? We worked on a design calked p2pSOA the connected distributed OSGi containers over p2p te

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread Sergey Beryozkin
on the mainline jaxrs work around supporting the metadata plus some various urgent enhancements but will be able to reply to all your dosgi jaxrs related queries Cheers, Sergey -Original Message- From: Sergey Beryozkin Sent: 12 June 2009 14:43 To: 'dev@cxf.apache.org' Subject: RE: I

Re: Integrating JAX-RS runtime into DOSGi

2009-07-03 Thread David Bosschaert
Hi all, 2009/6/20 Sergey Beryozkin : > Hi, > ... ... > There's something else David is thinking of doing shortly, possibly next > week or so. At the moment one has to configure DOSGI properties on the > individual service basis, either from the code or from the xml. David is > thinking of introd

Re: Integrating JAX-RS runtime into DOSGi

2009-06-25 Thread Sergey Beryozkin
us know what you think - comments/objections/etc and we'll to sort out all the issues. I'm going to prioritize now on the mainline jaxrs work around supporting the metadata plus some various urgent enhancements but will be able to reply to all your dosgi jaxrs related queries Cheers, Ser

Re: Integrating JAX-RS runtime into DOSGi

2009-06-24 Thread Josh Holtzman
se try the latest trunk (though I'll ping > you once I can confirm the 2.2.3-SNAPSHOT has been built or please build > it locally). Please let us know what you think - comments/objections/etc > and we'll to sort out all the issues. > > I'm going to prioritize now on the

RE: Integrating JAX-RS runtime into DOSGi

2009-06-20 Thread Sergey Beryozkin
supporting the metadata plus some various urgent enhancements but will be able to reply to all your dosgi jaxrs related queries Cheers, Sergey -Original Message- From: Sergey Beryozkin Sent: 12 June 2009 14:43 To: 'dev@cxf.apache.org' Subject: RE: Integrating JAX-RS runtime into

RE: Integrating JAX-RS runtime into DOSGi

2009-06-12 Thread Sergey Beryozkin
June 2009 14:20 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi I've attached the jaxws/jaxrs/databinding patch to https://issues.apache.org/jira/browse/CXF-2252 Thanks, Josh On Fri, Jun 12, 2009 at 3:19 AM, Sergey Beryozkin wrote: > Hi, > > I agree

Re: Integrating JAX-RS runtime into DOSGi

2009-06-12 Thread Josh Holtzman
gt; > -Original Message- > From: Eoghan Glynn [mailto:eogl...@gmail.com] > Sent: 12 June 2009 09:58 > To: dev@cxf.apache.org > Subject: Re: Integrating JAX-RS runtime into DOSGi > > 2009/6/12 David Bosschaert : > > > > 2009/6/11 Sergey Beryozkin : > > ..

RE: Integrating JAX-RS runtime into DOSGi

2009-06-12 Thread Sergey Beryozkin
g another major patch point than me just copying his code. Cheers, Sergey -Original Message- From: Eoghan Glynn [mailto:eogl...@gmail.com] Sent: 12 June 2009 09:58 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi 2009/6/12 David Bosschaert : > > 2009/

Re: Integrating JAX-RS runtime into DOSGi

2009-06-12 Thread Eoghan Glynn
2009/6/12 David Bosschaert : > > 2009/6/11 Sergey Beryozkin : > ... >> The only question I have is where this model info should reside, in >> META-INF/cxf-dosgi ? I'll check with Favid/Eoghan > > We already use OSGI-INF/cxf/intents for our CXF-DOSGi specific intents > files, so maybe somewhere in t

Re: Integrating JAX-RS runtime into DOSGi

2009-06-12 Thread David Bosschaert
Hi Sergey, 2009/6/11 Sergey Beryozkin : ... > The only question I have is where this model info should reside, in > META-INF/cxf-dosgi ? I'll check with Favid/Eoghan ... > thanks, Sergey We already use OSGI-INF/cxf/intents for our CXF-DOSGi specific intents files, so maybe somewhere in the OSGI-I

Re: Integrating JAX-RS runtime into DOSGi

2009-06-11 Thread Sergey Beryozkin
There's some uinfortunate typo in my last message, hope David won't notice it :-) - Original Message - From: "Sergey Beryozkin" To: Sent: Thursday, June 11, 2009 5:11 PM Subject: Re: Integrating JAX-RS runtime into DOSGi Hi Josh Great, I'm glad this is

Re: Integrating JAX-RS runtime into DOSGi

2009-06-11 Thread Sergey Beryozkin
Hi Josh Great, I'm glad this is helpful. And thanks for explaining the redundancy regarding databindings... that makes sense. I'd seen your comments about "model info" earlier in this or a related thread, but I don't know what "model info" is. It is just the alternative way to tell the JAX-R

Re: Integrating JAX-RS runtime into DOSGi

2009-06-11 Thread Josh Holtzman
Great, I'm glad this is helpful. And thanks for explaining the redundancy regarding databindings... that makes sense. I'd seen your comments about "model info" earlier in this or a related thread, but I don't know what "model info" is. Perhaps this is a good time to hand over the reigns to you?

Re: Integrating JAX-RS runtime into DOSGi

2009-06-11 Thread Sergey Beryozkin
Hi Josh This is super, thanks for starting the actual integration project. > I'm not sure how the cxf-rt-frontend-jaxrs dependency should be handled. It is embedded inside cxf-minimal-bundle (2,3-SNAPSHOT) so there's no need to update single or multi bundle distributions. Yesterday I updated

Re: Integrating JAX-RS runtime into DOSGi

2009-06-10 Thread Josh Holtzman
I'm not sure how the cxf-rt-frontend-jaxrs dependency should be handled. The work I've done so far [1] will tie the DSW software to the JAX-RS implementation. Since cxf-rt-frontend-jaxrs isn't an osgi bundle, I'd have to embed the jar within DSW to satisfy the dependency. This doesn't seem like a

Re: Integrating JAX-RS runtime into DOSGi

2009-06-10 Thread David Bosschaert
> I've just updated a cxf-minimal bundle to include a jaxrs frontend and I > updated the cxf.version in dosgi/parent to 2.3.0-SNAPHOT > > (David, Eoghan - we can downgrade it easily to 2.2.2 fixes tag if DOSGi will > need to be released sooner than 2.3 does which is in about 3 months or so I > beli

Re: Integrating JAX-RS runtime into DOSGi

2009-06-10 Thread Sergey Beryozkin
Hi Josh What do you think about this idea. The factory which returns handlers can check first if a given service intents include "HTTP" but no "SOAP" and a frontend.jaxrs property is set, and if yes then it returns JaxRSPojoConfigurationTypeHandler which will do what PojoConfigurationTypeHandle

Re: Integrating JAX-RS runtime into DOSGi

2009-06-09 Thread Josh Holtzman
Sergey Beryozkin wrote: This means that AbstractPojoConfigurationTypeHandler.createClientProxyFactoryBean() won't be able to return a JAXRSClientFactoryBean. What do you think about this idea. The factory which returns handlers can check first if a given service intents include "HTTP" but

Re: Integrating JAX-RS runtime into DOSGi

2009-06-08 Thread Josh Holtzman
Sergey Beryozkin wrote: This means that AbstractPojoConfigurationTypeHandler.createClientProxyFactoryBean() won't be able to return a JAXRSClientFactoryBean. What do you think about this idea. The factory which returns handlers can check first if a given service intents include "HTTP" b

Re: Integrating JAX-RS runtime into DOSGi

2009-06-08 Thread David Bosschaert
way into OSGIUtils. > > I agree it would be great if a common interface was there but may be we > will be able to get to it at some later stage and collapse handlers into > a single one... > > Thanks, Sergey > > -Original Message----- > From: Josh Holtzman [mailto:jholt

RE: Integrating JAX-RS runtime into DOSGi

2009-06-07 Thread Sergey Beryozkin
From: Josh Holtzman [mailto:jholtz...@berkeley.edu] Sent: 06 June 2009 00:47 To: dev@cxf.apache.org Subject: Re: Integrating JAX-RS runtime into DOSGi Hi Sergey, Yes, I would like to work on integrating your JAX-RS work with the JAX-WS patch I put together. I'm still very inexperienced with CXF in

Re: Integrating JAX-RS runtime into DOSGi

2009-06-05 Thread Josh Holtzman
Hi Sergey, Yes, I would like to work on integrating your JAX-RS work with the JAX-WS patch I put together. I'm still very inexperienced with CXF internals, so I may need a little hand holding. I took a quick look at JAXRSClientFactory and JAXRSClientFactoryBean. It looks like these don't sh