|
|
|
|
|
by SamAtt
6098 days ago
|
|
This is maybe the muddyist thinking I've ever read. He tries to draw a distinction between SOA "Services" and REST "Resources" but it doesn't work because a "Resource" is just the end product of a "Service". So really he's just jumping through his own mentally created hoops (I bet he's the type that writes 40 pages of Workflow and UML diagrams before he ever writes a line of code) Whether you use SOA or REST it's still still just an interface to the same functionality. How you choose to think about it is all in your head. |
|
1. "...it doesn't work because a "Resource" is just the end product of a "Service"...". I think we need to review the concepts. A resource is an abstraction, a thing that lives on the web, in no particular place, and that may have more than one representation. Actual implementation of a resource can be anything, and one option is to built a service. 2. Nor SOA nor REST are interfaces! Wrong, they are architecture styles. 3. Agree, same functionality can be achieved using either style. But app is not only the functional part, but the quality attributes too, and REST/SOA have different architectural constrains to deal with those attributes. 4. Finally, you are right, YOu can choose what to use, but it is not good to confuse them.