*
The moose likes Web Services and the fly likes WS Vs SOA. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WS Vs SOA." Watch "WS Vs SOA." New topic
Author

WS Vs SOA.

Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Is WS and SOA synonymous ?

Or WS is the only way to achieve SO Architecture?


Rahul Bhattacharjee
LinkedIn - Blog
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
From my point of view... WS is one of those technologies involved to create SO Architecture.


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
Theoretically one could implement an SOA on top of services built using a different distributed technology (e.g., sockets, RMI or Corba), but that negates many of the architectural advantages that WS bring to the table. And, of course, WS are being implemented using other transports (Axis also has SMTP and JMS bindings), so the "W" in WS doesn't quite fit any more. Or, even more radically, one could drop SOAP altogether and transport something else, like JSON.


Ping & DNS - my free Android networking tools app
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Originally posted by Timothy Sam:
From my point of view... WS is one of those technologies involved to create SO Architecture.


Will it be possible to create a true SOA without using WS.If I write and implement my services using some non XML based service approach ; like corba , RMI , then will this architecture be termed as true SOA ?

The reason I am asking this is , SOA's one of the main objectives is discovery of services and consumption of it by various other service consumers (possibly non compatible).If this is the case then non xml protocols are directly ruled out.Only XML based protocols can be used for service invocation.(Considering that every client can successfully make use of XML )

As WS is the only widely standard for registering , finding and invocation of services , then its the only way by which a true SOA could be implemented.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
SOA is an architectural concept. It can be implemented using a variety of technologies. Right now, SOAP is just about the only contender, since it's the only one that has the full infrastructure in place, as you point out. But nothing prevents you from implementing an SOA using different technologies (whether that would be a useful thing to do is an entirely different matter).
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
So I can put it like this , In todays date ,WS is the only way to achieve a true SO Architecture.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Rahul Bhattacharjee:
WS is the only way to achieve a true SO Architecture.


Web Services are an enabling technology for implementing a Services Oriented Architecture.
An Introduction to Service-Oriented Architecture from a Java Developer Perspective

And be sure to read SOA antipatterns before drinking the SOA Kool-Aid.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Rahul Bhattacharjee:
(Considering that every client can successfully make use of XML)


Just because the client can discover the "syntax" of the XML document doesn't mean it can discover its "semantics" - which is ultimately what it needs to interpret the data correctly. You can only consume data from an arbitrary service if you are already familiar with the documents it offers (e.g. a domain standardized XML application). So once you are constrained by a pre-defined document that pre-defined document could be offered in a non-XML format.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Just bringing my post up , in case Mark Hansen has something to add to it.
Sam Semwal
Greenhorn

Joined: May 15, 2007
Posts: 19
Peer Reynders ,
Many thanks for your post and link about antipatterns. It is really informative.

Thanks


TOGAF, SCJP 5.0, MBCS
Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
REST (REpresenttion State Transfer) is another way to implement SOA.

Thanks,
Guru
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Enterprise Service BUS (ESB) and JMS are the other building blocks which can be used in SOA. Please read

http://www.tavant.com/technology/soa_whitepaper.html


Amit Tank
Linked In
 
 
subject: WS Vs SOA.