Salesforce Service Oriented Architecture
Salesforce Service Oriented Architecture (SOA) is an architectural approach that enables developers to build loosely coupled, discrete services on the Salesforce platform using Apex for integration with external web services, internal systems, and composite services.
Definition
Salesforce Service Oriented Architecture (SOA) is an architectural approach that enables developers to build loosely coupled, discrete services on the Salesforce platform using Apex for integration with external web services, internal systems, and composite services. It supports building scalable on-demand applications through API-driven integrations and service-based design patterns.
In plain English
“Salesforce Service Oriented Architecture (SOA) is an architectural approach for building loosely coupled services on the Salesforce platform. You use Apex for the service logic with integration to external systems, creating reusable service layers rather than tightly coupled code.”
Worked example
Underbridge Capital's developers structure their custom Salesforce code following Salesforce Service Oriented Architecture principles. Each business capability - credit-check, account-onboarding, pricing-calculation - is implemented as a discrete Apex service class with a clear interface, callable from Flows, Lightning Web Components, and external systems via REST. Services are loosely coupled: changing one doesn't break the others. The architecture matters when the codebase grows past 50 classes; without service boundaries, every change becomes a tangle. SOA on Salesforce isn't different from SOA elsewhere - it's just applied to the platform's specific tooling (Apex, Flows, Platform Events).
Why Salesforce Service Oriented Architecture matters
Salesforce Service Oriented Architecture (SOA) is an architectural approach that enables developers to build loosely coupled, discrete services on the Salesforce platform using Apex for integration with external systems. SOA principles promote building modular, reusable service layers that can be consumed by multiple clients rather than building tightly coupled monolithic applications.
SOA concepts apply to Salesforce architecture in several ways: building Apex services that expose APIs for external consumption, designing integration layers that decouple Salesforce from external systems, and creating reusable code components that serve multiple features. MuleSoft's API-led connectivity is essentially SOA applied to integration. Mature Salesforce architectures apply SOA thinking to create maintainable, scalable systems.
How organizations use Salesforce Service Oriented Architecture
Applies SOA principles to their Salesforce architecture with modular Apex services.
Teaches SOA concepts as part of enterprise Salesforce architecture training.
Builds reusable service layers in Apex consumed by multiple features and integrations.
Test your knowledge
Q1. What is Salesforce SOA?
Q2. What principle is central to SOA?
Q3. How does MuleSoft relate?
Discussion
Loading discussion…