• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

[Query on ROA] Leonard Richardson and Sam Ruby

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Leonard Richardson and Sam Ruby,

The book 'RESTful Web Services' explains the ROA [Resource-Oriented Architecture], Could you throw some light on how it is different than the SOA [Service-Oriented Architecture] when it comes to designing Web Services??

*********************
Regards,
Dinesh Sundrani
---------------
SCJP 1.5 [86%]
SCWCD [95%]
SCDJWS [98%]
*********************
 
Dinesh Sundrani
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Folks, Don't know how my query got posted twice?? Javaranch server probably seems to be too busy today?

Regards,
Dinesh S
 
author
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the book, we try to use the term "ROA" for Resource Oriented Architecture, which is a subset or profile of REST.

One thing that ROA and SOA have in common, and in start contrast to things like WSDL and CORBA, is that instead of trying to abstract away the network, they recognize that machine boundaries are important architectural facets, e.g., places where trust boundaries often exist.

Where they differ is that SOA focuses on services (verbs), and ROA focuses on resources (noun). A concrete example to illustrate the subtle difference: Google is SOA and ROA. Google is a service (search). You send that service a request, and you get a reply. The same endpoint is also a resource. If you do a GET on Google's home page, you get an concrete representation of a form (in this case, in HTML). That form tells you how to construct requests to other resources (i.e., pages containing search results). Since those pages are resources, they can be bookmarked, linked to from JavaRanch, send over IM to your friends, etc.
 
Dinesh Sundrani
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sam, This confirms my understanding that ROA is a architecture involving interactions with the variuos resources deployed and identified by Uniform Resource Locators.

Thanks,
Dinesh Sundrani
 
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to add that there can be resource-oriented architectures
other than the specific one we describe in chapter 4 of RWS. In the
future there might be a number of competing RESTful architectures, the
way today you see competing development methodologies. Calling our
architecture "_The_ Resource-Oriented Architecture" is a little
egotistic but at least we didn't name it after ourselves.
 
Dinesh Sundrani
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Leonard, Thanks for making it crystal clear.

Just out of curiousity, Are there any Application Servers or Web Servers in market to support ROA (like how BEA has BEA Aqualogic for SOA) likewise??

Anyone?

*********************
Regards,
Dinesh Sundrani
---------------
SCJP 1.5 [86%]
SCWCD [95%]
SCDJWS [98%]
*********************
 
Leonard Richardson
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ROA is a term we basically made up for the book. But Restlet works well with the ROA procedure: it lets you define Resource classes and connect them to URI Templates so they'll be triggered by incoming HTTP requests. There's a representative Restlet example in chapter 12.
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Leonard Richardson:
Calling our
architecture "_The_ Resource-Oriented Architecture" is a little
egotistic but at least we didn't name it after ourselves.



Naturally that "R" which has caused such puzzlement in this thread can't possibly also stand for Richardson, or Ruby, or both
 
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic