This sounds like a very good place to start to be able to expose SCA
resources in a REST way, but I think the more interesting and more
difficult challenge will be to figure out how to get SCA to consume
some of the growing number of REST resources that are being exposed on
the net now.

Jean-Sebastien's approach seems to be a step in this direction.

-Bert

PS: I'm still trudging through the json-rpc port from M1and slowly but
surely understanding more bits an pieces of the emails on this list :)

On 8/22/06, ant elder <[EMAIL PROTECTED]> wrote:
Axis2 also has some built in REST support, and as we already have an Axis2
binding it would be relatively easy to get a Tuscany REST binding going
using Axis2. All that you need to do is change the Tuscany code to use the
Axis2 REST servlet instead of the SOAP one, and change the code where we set
up the Axis2 config to set some flags to enable the REST support. With a bit
of refactoring of the existing Axis2 binding and changing a few things from
private to protected you could probably get something going by subclassing
the existing Axis2 binding with minimal new code. I think we should make a
better, more 'RESTful' binding than this in the long run, but this approach
would be an easy first start.

   ...ant

On 8/22/06, Oisin Hurley <[EMAIL PROTECTED]> wrote:
>
> > REST is a very generic term, and I think it's more like a resource/
> > service
> > naming pattern (URL/URI). When we say REST bindings, what are we
> > expecting
> > as the REST Service ?
>
> The resource part is really important, but the small interface part is
> important too, as are the expected behaviours of the interface: i.e.,
> GET is idempotent, PUT will replace a resource, POST will perform a
> partial update of the state of a resource.
>
> IMHO the first place we could go is an XML over HTTP binding and some
> kind
> of 'generic' processing method in the service (see [0] for an example
> of what's RESTful with JAX-WS, which might prompt some ideas).
>
>   cheers
>   --oh
>
> [0] http://java.sun.com/developer/technicalArticles/WebServices/restful/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to