S O A (Se r v i c e Or iented
A r c hitect ure)
We b se r v ic es
SOA is a softw ar e design rule and an architec tura l pattern fo r creat ing loos el y coupled, coarse grained and reusabl e s ervices.
Web service is an implementation method a nd one of the sides t o implement SOA. Y ou can create S O A based applications w i thout us ing Web services – E.g: B y using ot her t raditional method s like Java
RMI, J MS, EJB based messaging, etc. But what Web services give is the standards base d and platfor m-i ndependent service via XML, HTTP, SO AP, WSDL and UDDI, thus allow i ng interopera bility bet w een heterogen eous methods such as .NET and J2EE.
Y ou can create SOA using an y pro tocols such as J MS, HT TPS, HTTP, SMTP, RM I, IIOP, RPC etc. Messages may be in Data Transfer Objects (DT O s) o r XM L.
Interfaces must be based on Int ernet principle s such as HTTP , SMTP an d FTP. The re ar e two main st y l es of Web services: REST a nd SO A P . Messages have to be in XML and bi nar y data attach ments.