thx everyone.  i don't have a specific use case and the atom/http binding are 
exactly what i'm look'in for.  a service that supports different bindings is 
one that is more valuable (at least in my opinion).  with all the other 
bindings available, i thought it was a little odd i didn't see anything on 
rest, since rest has some popularity in the industry.

thx abe

 


----- Original Message ----
From: Simon Laws <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, October 3, 2008 10:28:35 AM
Subject: Re: rest services





On Fri, Oct 3, 2008 at 5:22 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:

Hi,

AFAIK, we don't have a binding.rest yet. But we do have a binding.atom which 
follows the REST style using the standard AtomPub protocol. The other potential 
is the JAX-RS (JSR311), see [1] and [2]. Are you interested in helping out?

[1] http://www.infoq.com/news/2008/09/jsr311-approved
[2] http://www.infoq.com/news/2008/10/jaxrs-comparison

Thanks,
Raymond

From: Abraham Washington
Sent: Friday, October 03, 2008 9:12 AM 

To: [email protected]
Subject: Re: rest services 



Is there no rest support in tuscany yet?   i found a couple presentations that 
says there's a binding.rest, but don't see that anywhere on tuscany site.   thx 
abe




----- Original Message ----
From: Abraham Washington <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, September 27, 2008 8:08:48 PM
Subject: rest services


hi, does tuscany/sca/java support REST services?  if so, are there examples and 
documentation available ?  thx abe




There is also a binding.http that may be persuaded to do what you need it to 
do. Depends on what you mean by rest. For example, the unit test for 
binding.http [1] shows several different capabilities, amongst them is how to 
handle HTTP requests such as "get" in component service implementations. 

    <component name="HTTPGetComponent">
        <implementation.java 
class="org.apache.tuscany.sca.binding.http.TestGetImpl"/>
        <service name="TestGetImpl">
            <tuscany:binding.http uri="http://localhost:8085/httpget"/>
        </service>
    </component>

I expect this is an area where we need better support so, as Raymond says, feel 
free to help out. 

Regards

Simon

[1] 
http://svn.apache.org/repos/asf/tuscany/java/sca/modules/binding-http-runtime/src/test/



      

Reply via email to