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

learn more… | top users | synonyms

3
votes
2answers
573 views

DDD - Domain Object calling a web service

Is it ok to call a webservice from a Domain object?. As I write the question I am thinking that you should never do that, as it is poor design, but the situation is the following: I have a domain ...
3
votes
2answers
149 views

Service Oriented Architecture - Component Responsibility

Working on an ecommerce project whereby a PHP application (back-end & non-customer facing) is currently responsible for processing an order from checkout stage through to generating profit/loss ...
3
votes
1answer
80 views

How to use Messagequeing in a distributed web application

I am curious for solutions to this problem: Assume we are going to build an online-store. To better scale parts of the architecture, it is broken into independend subsystems. The typical scenario ...
3
votes
1answer
103 views

Coding to SOA, External Dependency

This has happend to me more than once, thought someone can give some insight. I have worked on multiple projects where my project depends on external service. When I have to run the application ...
3
votes
3answers
2k views

How to use the unit of work and repository patterns in a service oriented enviroment

I've created an application framework using the unit of work and repository patterns for it's data layer. Data consumer layers such as presentation depend on the data layer design. For example a CRUD ...
3
votes
1answer
319 views

Separating Django models for SOA

First of all, the goal of this exercise is to create a SOA with Django. I am trying to understand what the implications would be if I decided to separate and insulate models into apps, provide a REST ...
3
votes
1answer
523 views

WCF and Service Registry

I am about to build some WCF Services. Those services need to communicate to each others too, in some scenarios. I've done some "Google-ing" about Service Registry but can't figure out how to ...
3
votes
1answer
545 views

In-process SOA?

Can DI/IoC be used for a simplified, local SOA? I have been reading up on SOA (examples: here, here and here) and it seems that at first a lot of the attention was at interoperability and enabeling ...
3
votes
1answer
210 views

Integration between services in a SOA

Assume we have a Bounded Context for Inventory (InventoryBC) and another one for Shipments (ShipmentsBC). These 2 BCs need to communicate together. They are hosted on 2 different services on different ...
3
votes
1answer
277 views

A “Composite API” layer

We are giving services a complete overhaul at work: Swapping soap for rest, resculpting the domains to give better separation of concerns, etc. These new services will be publicly available. During ...
3
votes
2answers
232 views

Service Design approach - one generic operation, and its implications

The hot topic in our organization is Service Design Approach. First Approach - The team wants to design services which essentially have one operation, can take any XML and return response XML ...
3
votes
2answers
639 views

Document Storage Repository - Open Source / Design Pattern

I currently have several web applications that offer document upload and storage. I am now trying to create a central document management service that these application can leverage to store and ...
3
votes
1answer
106 views

Assessing Relative Maintainability

We (a contractor, actually) are implementing an off the shelf system to replace a legacy homegrown system for the core domain of the company (designing widgets). Unfortunately both systems will have ...
3
votes
1answer
694 views

Push-Based Events in a Services Oriented Architecture

I have come to a point, in building a services oriented architecture (on top of Thrift), that I need to expose events and allow listeners. My initial thought was, "create an EventService" to handle ...
3
votes
1answer
386 views

SOA Release management strategy

Currently I have been asked to propose an automated release management solution for a large oracle SOA project. All code is stored on SVN repository and it would be nice if I could suggest something ...
2
votes
2answers
450 views

Why doing everything with one software project is wrong? [closed]

I am newly employed by a company. After a couple of weeks, I have heard lots of time that there is a huge project which most of the programmers are working on it. They call it something like Managing ...
2
votes
3answers
190 views

Is it an abuse of SOA to use it as a database abstraction layer? [closed]

I have a question whether it is a good or bad practice to use an SOA layer for the application servers to talk to the database. A web application server can obviously directly connect to a database, ...
2
votes
1answer
233 views

SOA - The four tenets

I'm reading about SOA and the four tenets required to make a SOA application. I have tried different sources, but the explanations are twisting. I'm searching for something that is a bit less ...
2
votes
4answers
320 views

How to share data between web applications?

I have two web applications, say Application_1 and Application_2. Application_2 has a database table named table_2, which changes infrequently, and needs to be accessed by Application_1. Does it ...
2
votes
3answers
190 views

Is SOA as a concept intended to function within code or between machines over a network?

As the question states: When implementing "SOA", is it a concept intended for communication between systems over a network or is it intended as a concept that operates within the language as a ...
2
votes
2answers
156 views

Allowing client to select data to return via REST interface

I have a rest service that is essentially a proxy to a variety of other services. So if I call GET /users/{id} It will get their user profile, as well as order history, and contact info, etc... all ...
2
votes
3answers
341 views

How to do lazy loading in a SOA fashion?

For example, I've got a root object exposed in a SOA service, say Invoice (Invoice has line items as children). Sometimes, I need to retrieve its detail line items. I'm thinking to make it lazy ...
2
votes
3answers
3k views

Why should I use interfaces if the implementation will mostly stay the same? [duplicate]

Possible Duplicate: Why are interfaces useful? In our company we have a service oriented architecture in our asp.net application. We use interfaces for every crap class. Its a huge ...
2
votes
2answers
1k views

Best practice for mapping between data/business/model and etc

What is the best approach to mapping between Entity, View Model or dataContract. For example I've seen the following modelling structures for SOA. WCF -> DataContract distributed to client. ...
2
votes
2answers
830 views

Services or Shared Libraries?

I work in an environment where we have several different web applications, where each of them have different features but still need to do similar things: authentication, read from common data ...
2
votes
1answer
137 views

SOA principles, encapsulation and autonomy

We are developing multiple web services in C# using WCF, but we´re new doing it. So, for what we have read and learnt, this is our approach: We have a class library that we called CommonLibrary ...
2
votes
1answer
316 views

Multitier architecture using API

I have been reading a number of posts and I am leaning towards building an SOA. My main dependencies are: Need to support multiple clients Need individual client environments to not effect other ...
2
votes
1answer
238 views

Where to keep persistent services in MVVM architecture?

In an MVVM application I need to use some services that are persistent, e.g. network services like P2P and WCF where the main "engine" or server endpoint must remain up and running during the lifetime ...
2
votes
1answer
198 views

Best practice for accessing data from an external legacy ERP system

I have an architectural problem, and would be glad to receive some consultancy :). The application I am developing (let's call it system A) is responsible for management of work groups, where these ...
2
votes
2answers
185 views

Distribution of Event Listeners in a Distributed Service Oriented Architecture

I have a service architecture composed of services that service common areas of the application. Examples of services would be: AccountService (manages client accounts in the system) BillingService ...
2
votes
1answer
142 views

What is the most elegant way to handle a loop between two systems integrated remotely by webhook events?

So I'm developing this small engine that does a remote integration between two systems in order to sync data, both systems have webhooks for create & update events, and both have APIs (one is REST ...
2
votes
2answers
166 views

How do I reduce the number of WCF config files in a SOA?

After embracing the whole SOA thing, I've found that I'm gradually drowning in a sea of web.config and app.config files. As an example, one system has 2 services that it interacts with. Each service ...
2
votes
2answers
2k views

Software Architecture Modelling

I am a little confused at how best to visually model a space-based architecture (SBA) for presenting the system/software architecture design to a client. The goal of this modelling is to show: The ...
2
votes
0answers
512 views

How does the Zope Component Architecture (ZCA) relate to Service Component Architecture (SCA)?

I'm very new to the principle of Service Component Architecture and Zope in general, but the more I look, the more ZCA seems to be a good solution for a certain class of problems I often encounter. I ...
1
vote
2answers
207 views

Is a Mission Oriented Architecture (MOA) a better way to describe things than SOA?

I might sound like a troll, but I would like to seriously understand this deeper. The place I work at has started to use the term MOA, versus SOA as we believe it drives more clarity and want to ...
1
vote
2answers
811 views

Webservices vs Microservices [closed]

In our org , we have soap & rest based services that have focused set of responsibilities. For instance , there is customer service for managing customer info , account service for managing ...
1
vote
2answers
855 views

What is the Enterprise Architecture Pattern called for a web service wrapping a web service?

As part of a service orientated architecture (SOA) I've been asked to create a web service which itself acquires data from a third party web service. I'm to hide any implementation specific details ...
1
vote
3answers
235 views

SOA, Java EE and data organization

At the company I work for, we're currently splitting up our monolith solution into a number of small services (SOA). The purpose of this is to make the developers working on each chunk of code ...
1
vote
1answer
1k views

How to implement session state in a backend web application?

When using a non-MVC service-oriented/Interactor pattern approach to decoupled system architecture, how is session state implemented? I've been thinking of building the frontend of an application ...
1
vote
1answer
636 views

Is there a clean separation of my layers with this attempt at Domain Driven Design in XAML and C#

I'm working on an application. I'm using a mixture of TDD and DDD. I'm working hard to separate the layers of my application and that is where my question comes in. My solution is laid out as ...
1
vote
1answer
80 views

Domain Driven Design and Data Conflicts

I realise it is probably overkill for what is a occasionally connected client app, but the construction of aggregates roots is bugging when thinking about it from a client perspective. For the ...
1
vote
1answer
3k views

Component based software engineering vs Service Oriented Architecture [duplicate]

What is the real difference between component-based software engineering and Service Oriented Architecture? Clemens Szyperski and David Messerschmitt present the following five principles that a ...
1
vote
1answer
121 views

Issues with the intended behavior of a Service layer?

This analysis makes sense, and states anything that avoids code duplication and simplifies maintenance speaks for a service layer. What is the technical behavior? When a service client references a ...
1
vote
2answers
162 views

Queuing RPC calls

I'm designing a system which listens to JSON RPC calls from clients, piles them up inside a list, and if the list gets full it will store them in a DB and keep receiving calls. My original plan is to ...
1
vote
1answer
915 views

Need some critique on .NET/WCF SOA architecture plan

I am working on a refactoring of some services and would appreciate some critique on my general approach. I am working with three back-end data systems and need to expose an authenticated front-end ...
1
vote
2answers
296 views

Does Service-Oriented Architecture require the robustness principle?

I try to migrate more and more of our IT infrastructure to a Service-Oriented Architecture (SOA), that means separation of independent tasks and implementation of this tasks as decoupled services, ...
1
vote
2answers
474 views

Distributed transactions with Kafka

I need to implement a transaction that spans over loosely coupled (SOA+MOM) components. When a particular event is received, FOO and BAR need to do a transactional operation: that is, both the ...
1
vote
1answer
132 views

Versioning Strategy for Service Interfaces JAR

I'm building a service oriented architecture composed (mostly) of Java-based services, each of which is a Maven project (in an individual repository) with two submodules: common, and server. The ...
1
vote
2answers
105 views

Test Data in a Distributed System

A question that has been vexing me lately has been about how to effectively test (end-to-end) features in a distributed system. Particuarly, how to effectively manage (through time) test data for ...
1
vote
1answer
196 views

What's a good strategy for managing static data in an SOA?

I'm working on a web application that sits on top of a number of RESTful web services, interacting primarily with those services through JSON formatted messages over HTTP. Our application has a great ...