How to convert message generated by grpc/thrift idl file to Java Bean

for example, I"m describing a message in grpc"s proto file.

then use the command to generate the Java Bean file, so do I still want to keep my previous Java Bean?

because the Java file generated by grpc contains a large number of grpc framework-related imports. Whether it will have an impact if you do not retain the previously pure java bean.

if you keep the previously pure java bean. So if you don"t do an operation, you have to transfer the grpc to pure java bean. In this case, you need to operate set one by one.

is the entity class generated by grpc that can be mapped directly by orm? Or should orm write another clean entity class for mapping

Dec.08,2021
Menu