Consider a web-application with a repository layer (persistence), a service layer (application) and a web (UI) layer.
Consider a component (i.e. ExternalProgramExecutor) which is not a UI component and does not depend or any component from the service or the repository layers.
The question are:
- Does this component belong to the service layer?
- Does this component belongs to the persistence layer?
- Should it be treated separately from those layers? If so, what is the name for this part of the architecture?