"매 비즈니스 기능을 매 reusable, network-addressable service로 매 분해". 2000년대 enterprise integration의 매 dominant paradigm. SOAP/WS-* + ESB로 매 시작 → REST/event-driven으로 매 진화 → 매 microservices가 매 SOA의 매 fine-grained 후속. 2026년에도 매 large enterprise (banking, telecom)에 매 살아있음.
매 핵심
매 원칙
Service contract: 매 명시적 interface (WSDL, OpenAPI).
Loose coupling: 매 schema/protocol 만 의존.
Reusability: 매 같은 service 매 다중 consumer.
Composability: 매 service 합성으로 매 process 구성.
Discoverability: 매 registry (UDDI, Consul, k8s DNS).
consul services register -name=orders -port=8080 -address=10.0.0.5
consul catalog services
# orders, billing, inventory
매 Saga (long-running process composition)
// 매 SOA business process orchestration
asyncfunctionplaceOrderSaga(order: Order){awaitorderService.create(order);try{awaitpaymentService.charge(order);awaitinventoryService.reserve(order);awaitshippingService.schedule(order);}catch(e){awaitorderService.cancel(order.id);// 매 compensation
throwe;}}