Questions tagged [soa]

Questions about service-oriented architecture, or designing software as a collection of services.

165 questions
100
votes
7 answers

What is the most accepted transaction strategy for microservices

One of the major issues that I have seen occur in a system with microservices is the way transactions work when they span over different services. Within our own architecture, we have been using distributed transactions to resolve this, but they…
Kristof
  • 2,201
  • 3
  • 14
  • 13
76
votes
6 answers

Why is it so bad to read data from a database "owned" by a different microservice

I have recently read this excellent article on the microservice architecture: http://www.infoq.com/articles/microservices-intro It states that when you load a web page on Amazon, then 100+ microservices cooperate to serve that page. That article…
David
  • 4,449
  • 6
  • 35
  • 48
36
votes
2 answers

What is the proper way to do REST?

Everybody nowadays does SOA, even if some don't actually understand what is all about. So they do it wrong. Using that as an analogy I know what REST is (or at least I think I do) and want to do some of it. But I want to do it right. So my question…
JohnDoDo
  • 2,309
  • 2
  • 18
  • 32
25
votes
5 answers

Has the term "Service Oriented Architecture" become meaningless jargon?

I was asked today if I had experience with "Service Oriented Architecture" and although I think I do. The concept, to me, seems so muddled I don't know how you could honestly answer that question anymore. I resorted to Googling the term in an…
JohnFx
  • 19,052
  • 8
  • 65
  • 112
23
votes
4 answers

Why do people think SOAP is deprecated?

While browsing SO today I found this question here and it starts with this: Sure, you're gonna tell me that SOAP is depracated and all, well i'm forced to use it Found lots of statement like this one on SO up till now, this one just triggered me…
user98q37479
  • 239
  • 1
  • 2
  • 3
23
votes
1 answer

SOA/Microservices: How to handle authorization in inter-services communications?

Foreground We are moving from a monolithic platform to a more Service Oriented Architecture. We are applying very basic DDD principles and splitting our domain across different bounded contexts. Each domain is distributed and exposes a service via a…
Josep Serra
  • 331
  • 2
  • 3
23
votes
7 answers

What is the value of workflow tools?

I'm new to Workflow developement, and I don't think I'm really getting the "big picture". Or perhaps to put it differently, these tools don't currently "click" in my head. So it seems that companies like to create business drawings to describe…
user16549
  • 365
  • 3
  • 7
23
votes
6 answers

Why use services (REST/SOAP) instead of a library?

Let's say you're looking at breaking up your applications into services. Are there any good reasons to adopt a SOA approach vs. just creating a library API that can be loaded by the applications that need it.
Nate Reed
  • 341
  • 1
  • 2
  • 6
18
votes
2 answers

Where to put Spring configuration file?

I want to integrate Spring framework in my project especially into server side. So, I don't want to put it within WEB-INF folder of war file. Should I put an applicationContext.xml it into each layer (means each project since divided in distinct…
Mik378
  • 3,838
  • 7
  • 33
  • 60
17
votes
5 answers

Is it bad practice for services to share a database in SOA?

I have recently been reading Hohpe and Woolf's Enterprise Integration Patterns, some of Thomas Erl's books on SOA and watching various videos and podcasts by Udi Dahan et al. on CQRS and Event Driven systems. Systems in my place of work suffer from…
Paul T Davies
  • 3,144
  • 2
  • 22
  • 22
16
votes
6 answers

Autonomous Microservices, event queues and service discovery

I've been reading a lot about micro-services lately, and here are some of the conclusions I got so far (please correct me if I'm wrong at any point). Micro-services architecture goes well with domain driven design. Usually one MS represents one…
Robert
  • 545
  • 6
  • 16
16
votes
4 answers

Micro-services and data replication

I am building a new application and was reading about micro-services architecture. The architecture itself makes lot of sense from a development, deployment and life cycle management point of view. However, one issue that came up was with regards to…
mithrandir
  • 299
  • 2
  • 4
15
votes
3 answers

Does SOA service composition actually work in practice?

One of the main SOA service design principles is Service Composability principle (https://en.wikipedia.org/wiki/Service_composability_principle). The idea is that by composing new services using existing ones as building blocks, one can rapidly…
Janne Mattila
  • 260
  • 1
  • 6
14
votes
2 answers

What is really different between SOA and Microservices

Disclaimer I hope I am not stepping on anyone's toes or offending either concepts' enthusiasts Background I have been looking for real differences between Service Oriented Architecture and Microservices, without finding any clear answer. I read…
A.Rashad
  • 594
  • 3
  • 19
13
votes
5 answers

How can you effectively use web services in an enterprise environment if you can't use transactions?

The place I'm working at is trying to establish some ground rules, and the debate we're having now is local libraries vs web services for code reuse. Web services seem to be the popular pick in most companies, and that's what most of the developers…
ryeguy
  • 267
  • 1
  • 7
1
2 3
10 11