2021-12-04
An overview of different approaches we can use to convert between the domain classes (which the business logic operates on) and the DTO classes which are exposed to the API.
2021-09-03
It has always been possible to build gRPC services in kotlin through java interop, but with the recently improved first class support for kotlin in the official gRPC/protobuf libraries it is quite straightforward to build gRPC services in Kotlin which take advantage of kotlin native features like coroutines. In addition, the grpc-spring-boot-starter makes it really convenient for spring boot users to integrate gRPC.
© 2022 Gaurab Paul
Unless otherwise mentioned in specific contexts, all code is licensed under the The MIT License and all content and artwork is licensed under CC BY-NC-SA.
The opinions expressed herein are author's personal viewpoints and may not be taken as professional recommendations from any of his previous or current employers.