Greetings,
ECF has a new remote services distribution provider based upon Google
RPC (gRPC) [1] available here [2].
To support easy creation of remote services that use this distribution
provider is a protoc plugin [3] that generates a service interface class
from a .proto file service declaration. In the example described here
[2], this allows a single run of protoc to generate all of the java
classes needed for the OSGi service api (i.e. the service interface,
request and response types, supporting impl and stub classes).
The service API can be completely generated from a single protoc file.
The service implementation class(es) and service consumer classes can
then often be extremely simple, as shown in the example [2].
The gRPC distribution provider and example can be easily installed and
run via accompanying Karaf features [2].
Scott
[1] https://grpc.io/
[2] https://github.com/ECF/grpc-RemoteServicesProvider
[3] https://github.com/ECF/grpc-osgi-generator