Reviewing business APIs
In some ways, the business API component will be the heart of the application. If you implement the logic correctly, the business logic and validation will be applied regardless of how the application is accessed. For example, you could allow users of our application to access it via a web browser, an Android interface, and the RESTful API invoked by a third-party application. Regardless of the invocation method, the same business logic should be applied. This is one of the places where microservice architectures shine. They can encapsulate the business logic and apply it thoroughly and consistently.
A concept that is often used to enhance the implementation of business APIs and microservices is the concept of a business rules engine. Let's explore what this is.
Business rules engine
A business rules engine is a software component that can evaluate rules at runtime in a production environment. The most common implementations...