Questions tagged [soa]

SOA stands for Service-Oriented Architecture, a flexible set of design principles that allow multiple separate systems from several business domains to inter-operate. Service orientation is a paradigm that frames what you do. Service-oriented architecture (SOA) is a type of architecture that results from applying service orientation. ([From soa-manifesto.org][1] )

Service-oriented architecture (SOA) is a flexible set of design principles used during the phases of systems development and integration in computing. A system based on a SOA will package functionality as a suite of interoperable services that can be used within multiple separate systems from several business domains.

SOA make changes easier i.e. flexibility. Legacy architecture makes Rigid integration. SOA is easy to assemble and easily reconfigurable like building blocks.
SOA works modularly. Assemble any way we want. If any changes require, instead of starting from scratch we can re-use and add new block so, SOA is saving time and money.

The analogy
Imagine a house on the country side, that in many ways is part of a larger community, like a city or town. The city has it's own complex systems for providing water and electricity, handling sanitation, providing transportation and other utilities. The House is the consumer in this model, the City (or community) is the provider and the pipes, sewers, powerlines, optical fibers etc. is the Infrastructure in which they communicate.

This model could loosely be compared to a SOA. The people in the house uses a number of different "applications" like radiators, computers, toilets, lamps, underfloor heating, bathtubs etc. These applications don't care how the city generates the water, creates the electricity or handles the waste as long as it works. The components of the city are generators, water pumps and sanitation areas. It provides the house with all these needs but it's up to the house to use it in what ever way it sees fit.

1957 questions
18
votes
5 answers

Wrangling up XMPP

Wikipedia defines XMPP as: ...an open-standard communications protocol for message-oriented middleware based on XML. xmpp.org defines XMPP as: The Extensible Messaging and Presence Protocol (XMPP) is an open XML technology for real-time…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
17
votes
2 answers

Installing Oracle 11g on OSX

I would like to run a complete SOA/OSB development environment on OSX. Unfortunately, Oracle 11g (SOA and OSB) is missing OSX installers. Is it possible to run a native development environment on OSX ? I need Oracle Enterprise Pack Extensions, OSB…
Olivier Refalo
  • 50,287
  • 22
  • 91
  • 122
17
votes
3 answers

Replacing service layer with MediatR - is it worth to do it?

Do you think it might be reasonable to replace my service layer or service classes with MediatR? For example, my service classes look like this: public interface IEntityService where TEntityDto : class, IDto { Task
Konrad
  • 6,385
  • 12
  • 53
  • 96
17
votes
3 answers

WCF Service Throttling

Lets assume that I'm dealing with a service that involves sending large amounts of data. If I implement this with WCF, will WCF throttle the service based on how much memory each request takes to serve? Or will I be getting continuous out of memory…
Spence
  • 28,526
  • 15
  • 68
  • 103
17
votes
1 answer

Request/Response pattern in SOA implementation

In some enterprise-like project (.NET, WCF) i saw that all service contracts accept a single Request parameter and always return Response: [DataContract] public class CustomerRequest : RequestBase { [DataMember] public long Id { get;…
UserControl
  • 14,766
  • 20
  • 100
  • 187
17
votes
3 answers

Request Queue in front of a REST Service

What is the best technology solution (framework/approach) to have a Request Queue in front of a REST service. so that i can increase the no of instances of REST service for higher availability and by placing Request queue in front to form a…
TheWhiteRabbit
  • 15,480
  • 4
  • 33
  • 57
16
votes
10 answers

When to use SOA (Service Oriented Architecture)

I had a conversation with one of our architects recently and he summarized his use of SOA as "The only time we'll use services is when we need async actions otherwise we'll use go direct to the data store" I thought about this statement and it seems…
lomaxx
  • 113,627
  • 57
  • 144
  • 179
16
votes
1 answer

Should DTOs use inheritance or composition

In SOA if a few DTO classes have some fields that are repeated across. Is it better to use Composition or Inheritance so there is not repetition OR just use one DTO class that encapsulates all fields.As my DTO classes grow I see lot of repetitive…
pingu
  • 645
  • 3
  • 11
  • 21
16
votes
4 answers

What is the difference between N-Tier and SOA architecture

As per my understanding regarding N-Tier and SOA architecture. N-Tier N-Tier means dividing application into layers, Example I am developing application in asp.net and I pushed total DB Layer to WCF then it is called N-tier.[Tightly…
Venkat
  • 868
  • 1
  • 12
  • 21
16
votes
7 answers

Is orchestration an ESB responsibility?

Is an Enterprise Service Bus (a tool that acts as a mediator, a message broker, a service enabler, schema transformation enhancer, transparent location provider, service aggregator, load balancer, monitor, and all that stuff) responsible to…
paulosuzart
  • 1,082
  • 2
  • 13
  • 28
16
votes
2 answers

Anyone have experience with ServiceStack or other .Net services framework?

I'm looking for at using ServiceStack for the services part of a web application instead of rolling my own. Anyone have any experience using it? Any C#/.Net alternatives I should consider?
Dave
  • 2,409
  • 3
  • 22
  • 28
16
votes
7 answers

Is Domain Anaemia appropriate in a Service Oriented Architecture?

I want to be clear on this. When I say domain anaemia, I mean intentional domain anaemia, not accidental. In a world where most of our business logic is hidden away behind a bunch of services, is a full domain model really necessary? This is the…
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
16
votes
2 answers

How can I force WCF to autogenerate WSDLs with required method parameters (minoccurs="1")?

While using WCF and OperationContracts I have the following method defined: [OperationContract] [FaultContract(typeof(ValidationFault))] [FaultContract(typeof(FaultException))] int DoSomething(int someId,…
DavidWhitney
  • 4,290
  • 4
  • 24
  • 30
16
votes
1 answer

How to deal with timed out POST requests

In a RESTful SOA, suppose I issue a POST request via AJAX but I don't get a response before the request times out. Further suppose a re-submission of the request would be harmful. POST is not idempotent. For example, maybe I am posting a bank…
johnr
  • 192
  • 1
  • 1
  • 9
15
votes
5 answers

How to deal with Java Polymorphism in Service Oriented Architecture

What is the path of least evil when dealing with polymorphism and inheritance of entity types in a service-oriented architecture? A principle of SOA (as I understand it) is to have entity classes as mere data constructs, lacking in any business…
DeejUK
  • 12,891
  • 19
  • 89
  • 169