D-OSGi and REST

2009-09-23 Thread Demetris


Hi Sergey,

   you mentioned in the blog that users can now expose bundles/beans as 
SOAP and
REST services. I looked over the example listed on the D-OSGi web site 
but both
Greeter examples are the same for SOAP and REST - unless I am missing 
something.

Do you have any examples of RESTful bundles?

Thanks



RE: D-OSGi and REST

2009-09-23 Thread Sergey Beryozkin
Hi

Have a look please at

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/

it is indeed virtually identical to a soap based greeter demo but
the difference is here :

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/java/org/apache/cxf/dosgi/samples/greeter/rest/GreeterSe
rvice.java

(note JAXRS annotations)

and here :

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/java/org/apache/cxf/dosgi/samples/greeter/rest/GreeterSe
rvice2.java

(has no annotations at all) but GreeterService2 uses this model :
http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/resources/OSGI-INF/cxf/jaxrs/GreeterService2-model.xml

some more info is here :

http://cxf.apache.org/distributed-osgi-reference.html#DistributedOSGiRef
erence-ServiceProviderpropertiesForConfiguringRESTfulJAXRSbasedendpoints
andconsumers

hope it helps
Sergey



-Original Message-
From: Demetris [mailto:demet...@ece.neu.edu] 
Sent: 23 September 2009 08:13
To: dev@cxf.apache.org
Subject: D-OSGi and REST


Hi Sergey,

you mentioned in the blog that users can now expose bundles/beans as

SOAP and
REST services. I looked over the example listed on the D-OSGi web site 
but both
Greeter examples are the same for SOAP and REST - unless I am missing 
something.
Do you have any examples of RESTful bundles?

Thanks



Re: D-OSGi and REST

2009-09-23 Thread Demetris


Super - I will follow up on the links Sergey and let you know if I have 
any more questions.

Much appreciated.

Sergey Beryozkin wrote:

Hi

Have a look please at

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/

it is indeed virtually identical to a soap based greeter demo but
the difference is here :

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/java/org/apache/cxf/dosgi/samples/greeter/rest/GreeterSe
rvice.java

(note JAXRS annotations)

and here :

http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/java/org/apache/cxf/dosgi/samples/greeter/rest/GreeterSe
rvice2.java

(has no annotations at all) but GreeterService2 uses this model :
http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/int
erface/src/main/resources/OSGI-INF/cxf/jaxrs/GreeterService2-model.xml

some more info is here :

http://cxf.apache.org/distributed-osgi-reference.html#DistributedOSGiRef
erence-ServiceProviderpropertiesForConfiguringRESTfulJAXRSbasedendpoints
andconsumers

hope it helps
Sergey



-Original Message-
From: Demetris [mailto:demet...@ece.neu.edu] 
Sent: 23 September 2009 08:13

To: dev@cxf.apache.org
Subject: D-OSGi and REST


Hi Sergey,

you mentioned in the blog that users can now expose bundles/beans as

SOAP and
REST services. I looked over the example listed on the D-OSGi web site 
but both
Greeter examples are the same for SOAP and REST - unless I am missing 
something.

Do you have any examples of RESTful bundles?

Thanks


  




Re: Wikipedia page

2009-09-23 Thread Glen Mazza

I dunno...I believe proper Wikipedia etiquette, followed approximately 5% of
the time, is that people directly related to a Wikipedia article should not
play a role in editing it.

Glen


bimargulies wrote:
> 
> http://en.wikipedia.org/wiki/Apache_CXF is somewhat lame, and the Progress
> folks could probably find a few IONAs to edit.
> 

-- 
View this message in context: 
http://www.nabble.com/Wikipedia-page-tp25517770p25531226.html
Sent from the cxf-dev mailing list archive at Nabble.com.



Re: Wikipedia page

2009-09-23 Thread Benson Margulies
I don't even think that it is policy. If the text comes out NPOV, and it's
not about a living person, I don't think that there's likely to be much
trouble.


On Wed, Sep 23, 2009 at 1:30 PM, Glen Mazza  wrote:

>
> I dunno...I believe proper Wikipedia etiquette, followed approximately 5%
> of
> the time, is that people directly related to a Wikipedia article should not
> play a role in editing it.
>
> Glen
>
>
> bimargulies wrote:
> >
> > http://en.wikipedia.org/wiki/Apache_CXF is somewhat lame, and the
> Progress
> > folks could probably find a few IONAs to edit.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Wikipedia-page-tp25517770p25531226.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>
>


RE: Wikipedia page

2009-09-23 Thread Eric Johnson
I updated the page to change IONA to Progress and add a list of CXF's features.

Is there any other information people would like to see on the page?

-Original Message-
From: Benson Margulies [mailto:bimargul...@gmail.com] 
Sent: Wednesday, September 23, 2009 2:47 PM
To: dev@cxf.apache.org
Subject: Re: Wikipedia page

I don't even think that it is policy. If the text comes out NPOV, and it's
not about a living person, I don't think that there's likely to be much
trouble.


On Wed, Sep 23, 2009 at 1:30 PM, Glen Mazza  wrote:

>
> I dunno...I believe proper Wikipedia etiquette, followed approximately 5%
> of
> the time, is that people directly related to a Wikipedia article should not
> play a role in editing it.
>
> Glen
>
>
> bimargulies wrote:
> >
> > http://en.wikipedia.org/wiki/Apache_CXF is somewhat lame, and the
> Progress
> > folks could probably find a few IONAs to edit.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Wikipedia-page-tp25517770p25531226.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>
>


Re: Wikipedia page

2009-09-23 Thread Benson Margulies
The prc would ask us to ask for a trademark reference :)

On Wed, Sep 23, 2009 at 3:29 PM, Eric Johnson  wrote:

> I updated the page to change IONA to Progress and add a list of CXF's
> features.
>
> Is there any other information people would like to see on the page?
>
> -Original Message-
> From: Benson Margulies [mailto:bimargul...@gmail.com]
> Sent: Wednesday, September 23, 2009 2:47 PM
> To: dev@cxf.apache.org
> Subject: Re: Wikipedia page
>
> I don't even think that it is policy. If the text comes out NPOV, and it's
> not about a living person, I don't think that there's likely to be much
> trouble.
>
>
> On Wed, Sep 23, 2009 at 1:30 PM, Glen Mazza  wrote:
>
> >
> > I dunno...I believe proper Wikipedia etiquette, followed approximately 5%
> > of
> > the time, is that people directly related to a Wikipedia article should
> not
> > play a role in editing it.
> >
> > Glen
> >
> >
> > bimargulies wrote:
> > >
> > > http://en.wikipedia.org/wiki/Apache_CXF is somewhat lame, and the
> > Progress
> > > folks could probably find a few IONAs to edit.
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Wikipedia-page-tp25517770p25531226.html
> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >
> >
>