Business Handler
The business handler is the last handler in the request/response chain after all the middleware handlers. There are two types of middleware handlers: Technical and Business.
Light is dedicated to providing all the technical middleware handlers to address technical cross-cutting concerns so that users can focus on their business logic to increase productivity and maintainability.
Big organizations will leverage the plugin architecture of Light to add another layer of business middleware handlers after the technical middleware handlers in the request/response chain. These handlers are industry-specific, and they usually call them together as their API platform. For example, one of the banking customers built their platform on top of light-4j to address Auditing, Fine-Grained Authorization, Result Filtering and Compliance to share these across all the APIs and applications.
For most developers, they don’t need to worry about cross-cutting concerns during the development. What they need to do is to focus on the business handlers generated with the light-codegen.
- Get Request Info
- Send Response
- Rest
- [Hybrid][]
- [Hybrid Kafka][]
- [GraphQL][]