Servicelogik
Servicelogik is a term used in software engineering to describe the part of a system that implements the behavior and rules of a service in service-oriented and microservice architectures. It encapsulates the business logic activated when a service receives a request and coordinates interactions with domain models, repositories, external services, and messaging infrastructure. Servicelogik sits between the API contract and the data layer, and is distinct from data access concerns and the raw representation of domain entities.
Typical responsibilities include orchestrating multi-step processes, enforcing business rules, validating input, handling errors, and coordinating calls
In practice, servicelogik is often implemented as part of an application service layer within a layered architecture,
See also: service-oriented architecture, microservices, business logic, orchestration, Saga pattern.