Adam Bien's Weblog

The Difference Between SOA and Microservices Architectures

SOA was not about SOAP and microservices are not about REST.

In theory there is no difference. The SOA definition could be also applied to microservices architecture as well:

"Services are unassociated, loosely coupled units of functionality that are self-contained. Each service implements at least one action, such as submitting an online application for an account, retrieving an online bank statement or modifying an online booking or airline ticket order." [SOA definition from wikipedia]

Also a microservice architecture could be challenged (often killed) with the same questions as a SOA.

In practice SOA was applied to expose, reuse and expose business services at enterprise level. Microservice architectures are used to structure individual applications. Because it is easier to control a single application than a whole enterprise, microservices are less ambitious and more pragmatic.

See you at Java EE Workshops at MUC Airport, particularly at the Java EE Architectures workshop!


NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.

Newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

Hi,

Its possible to use Hystrix in JavaEE container?

https://github.com/Netflix/Hystrix

Posted by Diego on June 29, 2015 at 01:37 PM CEST #

Hi Diego,

sure! But look at: https://github.com/AdamBien/porcupine

Another Java EE 7 "kilobyte" library :-)

Posted by Adam Bien on June 30, 2015 at 08:32 AM CEST #

Hi,

Microservices is just a subset of SOA principales.

As you mention, SOA is Enterprise while microservices are jsut project level.

http://www.servicetechmag.com/I91/0715-1

Posted by slim ouertani on October 13, 2015 at 02:25 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
Online Workshops
...the last 150 posts
...the last 10 comments
License