Business service layer
Business logic for an application resides in the area between the UI layer and datasource, fulfilling the requests from the client by interacting with the datasource or other third-party services. A well designed application may have multiple layered structures for business service implementation, where each layer plays a unique role by improving the extensibility of the entire architecture. Let us take a quick look at the various layers found in a multilayered business service implementation:
Service layer : This layer defines the service contracts to be used by a client. The Service layer receives the message sent from the client and delegates it to the appropriate business logic implementation for further processing. The advantage of having a service layer is that it decouples the implementation of services from the service contract, which makes an application more flexible and extensible.
Business logic layer : This layer defines the business logic that is required...