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

learn more… | top users | synonyms

37
votes
2answers
4k views

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 ...
36
votes
5answers
8k views

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+ ...
25
votes
5answers
1k views

Has the term “Service Oriented Architecture” become meaningless jargon? [closed]

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 ...
19
votes
4answers
7k views

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 ...
18
votes
7answers
2k views

What is the value of workflow tools? [closed]

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 ...
14
votes
5answers
6k views

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 ...
14
votes
4answers
4k views

Why do people think SOAP is deprecated? [closed]

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 ...
14
votes
5answers
624 views

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 ...
12
votes
2answers
4k views

WCF/SOA - Why should I create parameter objects for simple requests

Our company is starting a fairly large SOA initiative. We're doing a lot of stuff right: there's good communication; money for tools where appropriate; and we have brought on some good expertise to ...
11
votes
6answers
3k views

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 ...
11
votes
1answer
2k views

Architecting a modular service application

I'm looking at architecting a new solution that is very modular by nature and would like to create a structure that supports that design to allow for easy future expansion, clear separation of ...
9
votes
5answers
1k views

Why is there no service-oriented language?

Edit: To avoid further confusion: I am not talking about web services and such. I am talking about structuring applications internally, it's not about how computers communicate. It's about ...
9
votes
2answers
22k views

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 ...
9
votes
3answers
2k views

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. ...
9
votes
2answers
757 views

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 ...
8
votes
1answer
686 views

how to implement idempotent webservice calls

I'm developing a wcf based solution for a webservice layer that "occasionally-connected" mobile devices will be using. The service will not be using queuing (at this stage) due to the additional ...
7
votes
7answers
454 views

Communication Between Different Technologies in a Distributed Application

I had to a incorporate several legacy applications and services in a network-distributed application. The existing services and applications are written using different languages and technologies, ...
7
votes
2answers
8k views

What's the best practice to do SOA exception handling?

Here's some interesting debate going on between me and my colleague when coming to handle SOA exceptions: On one side, I support what Juval Lowy said in Programming WCF Services 3rd Edition: As ...
7
votes
2answers
296 views

how to handle / architect soa when service becomes unavailable?

Say I've got a third-party service called Cool.io that provides a RESTful API but often goes down. My applications consume that API, but when Cool.io goes down, my app really can't do much... but it ...
7
votes
1answer
3k views

Microservice architecture: single database owned by a single service? [duplicate]

We're rebuilding a system in a microservice archiecture. I know the standard practice for SOA is to have each individual service responsible for its own database. However, does it make sense to have ...
7
votes
1answer
328 views

What are requirements for a successful SOA?

I’m an EA in an organisation with 10000+ employees. Strategically we are heading towards SOA. Currently I’m researching about SOA’s and creating a road map and I have come over many blogs that talk ...
6
votes
1answer
250 views

Integrating Domain Model Applications - Resources/Guidance

I'm struggling to find guidance on integrating various applications, usually based on a Domain Model architecture. The applications often expose and consume each others WCF services, but this tends to ...
6
votes
3answers
500 views

Is this breaking SOA?

We're havng a bit of a disagreement in our team, and I would like to hear other people's views. We have a mature solution that uses an Entity Framework model, which is accessed by a repository layer, ...
6
votes
1answer
123 views

Service repository and discovery without WSDL

I'm in the very early stages of moving a development team away from large monolithic app development to an SOA approach. One of the things that caught my eye in this article about SOA: Stevey's ...
6
votes
1answer
240 views

How do you organize API endpoint contracts

Where trying to improve the "confidence" we have in our inter-service communication. Background: "Contracts" has been a matter of sharing a piece of code that defines an interface to implement, but ...
5
votes
2answers
723 views

Amazon SOA: database as a Service

There is an interesting interview with Werner Vogels which is partly about how Amazon does Service Oriented Architecture: For us service orientation means encapsulating the data with the ...
5
votes
5answers
519 views

How do you keep SOA DRY?

In our organization, we've shifted to a more "service oriented architecture". To give an example, let's assume we need to retrieve a "Quote" object. This quote has a shipper, a consignee, phone ...
5
votes
2answers
183 views

Alternative approaches to usual software solutions

I am creating a service to be exposed on the internet. One of those things you would normally say "Web 2.0", but that I want to expose as a SOAP webservice, with desktop clients. I know that it may ...
5
votes
3answers
122 views

Is an enterprise-wide data model truly feasible?

I've consulted for a number of Fortune 500 and 100 companies all of whom have made some kind of effort at creating a "Master" data model even to the point that they'd attempt to have all applications ...
5
votes
3answers
939 views

Microservices architecture and bounded contexts

In the past few days I've been reading some things about microservices architecture. I didn't get the whole point yet, since I'm just starting with this, but there's one point which caught my ...
5
votes
1answer
2k views

Public API Facade with Micro Services

Consider a micro service infrastructure in which each service is responsible for one set of activities, and exposes a RESTful interface to its functionality. For example, assume a chat application. ...
5
votes
1answer
299 views

How do I build a highly scalable user/profile service?

Question -- I currently have a large monolithic Java application which I am working to break up into services components. One of the components I want to separate out is the service which handles ...
4
votes
8answers
606 views

Does agile development need a framework in place first?

We are planning a new project and we want to go with a services oriented architecture. Everyone agrees that this is the way to go but how does this fit in with starting the development using agile ...
4
votes
3answers
1k views

Let applications share a database or keep them in sync with web services?

We have decided to build separate applications for user authentication and user management. The reason is that the the former is a "this just needs to always work, and do so instantly" style service, ...
4
votes
2answers
302 views

Is SOA an Utopia? [closed]

I have attended to many SOA related sales pitches and presentations through the years. SOA projects have died because of lack of interest or because of grandiose scopes. The very buzzword has lost ...
4
votes
2answers
2k views

Where does Windows Workflow Foundation fit into the messaging oriented middleware architecture?

I've been trying to find information online about where WWF 4.5 fits with in an architecture based around an enterprise message queue using central broker(s) (RabbitMQ in particular). It seems like ...
4
votes
3answers
314 views

Identify Service Oriented Architecture

How can I tell if a system is built upon a service oriented architecture when reading its source code?
4
votes
3answers
913 views

How to loosely couple modules in service oriented architecture

We're developing a total solution, and we've chosen service-oriented architecture to loosen subsystems. However, now we have a problem. When customer orders something, Order Subsystem is responsible ...
4
votes
1answer
66 views

What's the purpose of having services in containers?

I've been very interested in Service Oriented Architecture, and Microservices. Many resources talk about having services in containers. To me, one of the big benefits of seperating an application ...
4
votes
1answer
572 views

Return Types from Service Interfaces in Service Layer: Mapper required for UI Layer objects?

I am designing a component based system using JSF2 on top of Spring's IoC Container. It is to employ a service layer between a controller and the domain/business layer (I anticipate the controller is ...
4
votes
2answers
574 views

How REST is used outside of the web

I was recently reading the Wikipedia article for Resource-Oriented Architectures (ROA) and stumbled across an article that made the assertion that, although REST is a technology that is very-well ...
4
votes
2answers
464 views

In choosing a service-oriented architecture framework that needs to work with .NET and with Java, what to look for?

I planning to write an application in which there will be a service (call it A) listening for particular commands. This service will then relay those commands to other services (call them B and C) ...
4
votes
1answer
435 views

Use a custom value object or a Guid as an entity identifier in a distributed system?

tl;dr I've been told that in domain-driven design, an identifier for an entity could be a custom value object, i.e. something other than Guid, string, int, etc. Can this really be advisable in a ...
4
votes
1answer
947 views

Good design for delegates in a service oriented architecture

My problem is quite complex to explain and my English is not excellent, so I hope you can understand my question. In a service oriented architecture there are some modules that own data used by all ...
4
votes
0answers
371 views

Is this any form of service pattern, some other pattern, SOA or just an anti-pattern?

I'm going to set out a scenario/pattern I've encountered and then I have a few questions pertaining to it. During an MVC request in a web framework (PHP, Laravel in my case), if I have an abstract ...
4
votes
0answers
120 views

Acceptable dependencies in a service-oriented architecture, internal to a team

In a service-oriented architecture, subsystems can depend on each other in different levels: Database level => Foreign keys to enforce data integrity across services on deletions and updates (...
3
votes
5answers
727 views

Where does Java get its SOA reputation from?

I see lots of SOA books surrounding Java and have always had the subliminal notion that Java is the "right" language for robust/enterprisey SOA, even though I know what SOA involves and that it is ...
3
votes
5answers
507 views

Is SOA suitable for developers or only for business/IT management people?

Let's suppose you're the lead of a team of developers that needs to build a big information system such as an ERP or Human Resources software, or whatever system that is composed by multiple business ...
3
votes
2answers
3k views

Reuse Business Logic between Web and API

We have a website and two mobile apps that connect through an API. All the platforms do the exactly same things. Right now the structure is the following: Website. It manages models, controllers, ...
3
votes
2answers
3k views

Relationship between SOA and OOA

Thomas Erl defines SOA as follows in his site: Service-oriented computing represents a new generation distributed computing platform. As such, it encompasses many things, including its own ...