Three Principal Layers
Presentation Layer
Provision of services, display of information (e.g. in windows or HTML, handling of user request, mouse clicks, keyboard hints), HTTP requests, command line invocation, batch API
Domain Layer
Logic that is the real point of the system
Data Source Layer
Communication with databases, messaging systems, transaction managers, other packages…