concept service layer in category BDD

appears as: service layer, The service layer, service layer
BDD in Action: Behavior-Driven Development for the whole software lifecycle

This is an excerpt from Manning's book BDD in Action: Behavior-Driven Development for the whole software lifecycle.

Figure 9.2. When an application has little business logic in the UI, much of the business logic can be tested directly against the service layer.

9.3.3. Testing the service layer

Many, if not most, modern applications use some kind of service-based architecture. A service is a well-defined piece of functionality that can be called by other components or applications. Services generally act as facades, gateways, or aggregators for lower-level components (see figure 9.8). In many applications, the UI layer can’t invoke lower-level business or database components directly, but instead must use one of the services available in the service layer.

Figure 9.8. An example of an architecture using a service layer