Re: Integrating JAX-RS runtime into DOSGi

2009-06-05 Thread Josh Holtzman
required for JAXRS runtime to operate in DOSGi case as we now support provisioning of the metadata out of band but it can be done later on.. Josh, if you're interested then we can work on integrating JAX-RS into DOSGi together, given that you've provided a JAXWS patch.. Cheers

Re: Integrating JAX-RS runtime into DOSGi

2009-06-08 Thread Josh Holtzman
ould 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 Sounds like a reasonable approach to me. I will start digging into this code tomorrow and let you know what I find. Thanks

Re: Integrating JAX-RS runtime into DOSGi

2009-06-09 Thread Josh Holtzman
written and committed already. Should I be looking in a branch for this? Thanks, Josh -- Josh Holtzman Educational Technology Services, UC Berkeley jholtz...@berkeley.edu 510.529.9225

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-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-12 Thread Josh Holtzman
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, putting the jaxrs-specific resources into OSGI-INF/cxf/jaxrs > makes sense. > I'll wait for Josh to submit hi

Whiteboard pattern for JAX-RS services

2009-06-12 Thread Josh Holtzman
I've got some code that allows OSGI bundles to use the whiteboard pattern to register restful services. When a service is registered with a specific property, say, "jaxrs.resource=true" the JAX-RS implementation registers that service as a JAX-RS resource. The same could be done with message body

Re: Whiteboard pattern for JAX-RS services

2009-06-12 Thread Josh Holtzman
sting idea but the > > question is what to do next - that is how to configure such services for > > ex. > > > > What do you think ? Do you have some scenarios in mind that may not be > > easy to do with DOSGi ? > > > > Thanks, Sergey > > > > >

Re: Whiteboard pattern for JAX-RS services

2009-06-12 Thread Josh Holtzman
will change in the final OSGi spec, but > I'm planning to keep the old ones around too for backward > compatibility. I've used the old names here as the new ones aren't > finalized yet... > > Cheers, > > David > > 2009/6/12 Josh Holtzman : >> In th

Re: Whiteboard pattern for JAX-RS services

2009-06-24 Thread Josh Holtzman
On Tue, Jun 23, 2009 at 8:46 AM, Sergey Beryozkin wrote: > Hi Josh > > > > I've got some code that allows OSGI bundles to use the whiteboard pattern >> to >> register restful services. When a service is registered with a specific >> property, say, "jaxrs.resource=true" the JAX-RS implementation

Re: Integrating JAX-RS runtime into DOSGi

2009-06-24 Thread Josh Holtzman
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 >

Re: Whiteboard pattern for JAX-RS services

2009-06-25 Thread Josh Holtzman
On Thu, Jun 25, 2009 at 8:46 AM, Sergey Beryozkin wrote: > Hi Josh > > > I'd like to ask your opinion about providing JAXRS providers through this >>> pattern. >>> >> > >> >>> > I'm not sure how CXF keeps track of these providers now, but I assume >> there's a registry of some kind. Are the pr

CXF-2288 -- Bundle cannot be restarted

2009-08-17 Thread Josh Holtzman
I'm looking at CXF-2288 and trying to figure out the best place to handle the reloading problem. I've added a patch to the issue, but I'm not sure if it's the "right" solution. Would one of the cxf committers give it a quick read? Thanks, Josh

Re: CXF-2288 -- Bundle cannot be restarted

2009-08-20 Thread Josh Holtzman
ed), > > thanks, Sergey > > > Josh Holtzman wrote: > > > > I'm looking at CXF-2288 and trying to figure out the best place to handle > > the reloading problem. I've added a patch to the issue, but I'm not sure > > if > > it's the "r

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-26 Thread Josh Holtzman
s by using "org.apache.cxf.rs.provider" property, when registering > an application service. > Will document it tomorrow > > Give it a try please whenever you get a chance and let me know if it works > for you > > cheers, Sergey > > > > Josh Holtzman wrote: &g

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-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-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

JSONP interceptors

2010-08-28 Thread Josh Holtzman
With some help from sergeyb and dkulp yesterday, I wrote some very simple CXF interceptors that enable transparent JSONP capabilities in JAX-RS. If a request contains a "jsonp" parameter in the querystring, and the response's content type is "application/json", the response is wrapped in the callb

Re: Final steps toward 2.3

2010-10-04 Thread Josh Holtzman
Sergey, I've made several improvements (checking for validity of the padding, proper handling of content length, etc) to jsonp handling, so if possible, I would wait on that patch. I can attach a new version later this week, but I wouldn't want that to impact anybody's schedules. Thanks, Josh On