What's the difference between application layer and business logic layer?

miceuz picture miceuz · Apr 13, 2010 · Viewed 35.1k times · Source

What's the difference between application layer and business logic layer? I kind of understand that business layer provides business specific services and application layer couples business services and provides services to the end user (Web Service, UI, etc). Am I right?

Answer

Mark Seemann picture Mark Seemann · Apr 13, 2010

That sounds about correct.

The business layer implements the Domain Model in a boundary-technology-neutral way. In other words, it doesn't depend on any particular UI or service interface-related technology, such as web libraries or windowing APIs. You should be able to consume the business layer from any type of application - web, rich client, web service, etc.

The application layer bridges the gap between the business layer and the boundary technology.