Are Service Layer and BLL the same thing?

Asked

Viewed 426 times

3

I have a question about service Layer and BLL, what’s the difference? where it’s used?

I would like an example of classes using these structures.

2 answers

3

The BLL corresponds to the business layer, that is, where the rules of your business should be, the "intelligence" of it. The Service Layer (service layer) is understood as a platform of available services, for example, Postal web services, with "services" such as providing tracking information for an order or ZIP query. What will be "exposed" will be services, but each of them has its intelligence, its rules, its validations, etc.

So to answer your question: no, BLL and Service Layer are not the same thing, but are connected.

  • Hi, Luiz, welcome to [pt.so]. I removed the greetings from your post because they are considered noise. Check out why this site is different from traditional forums doing the tour.

1

Both are complementary. Business layer is related to the logic of its application (validation and processing of information, for example). Service Layer is the layer where you can consume or provide services (data) with other systems.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.