You can find a list of existing rpc add-ons in this page:
https://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations

Some of them are using protoc plugins and some of them are simply writing
their own compiler.

On Fri, Mar 21, 2014 at 12:19 PM, P Osborne <[email protected]> wrote:

>
> Hi All,
>
> I'm working on a project to add protobuf support into Finagle.  The
> canonical form of a Finagle rpc service is:
>
> Future<Response> myRpcCall( Request request )
>
> where Request and Response are protobuf objects in this case.  While the
> traditional protobuf rpc interface is something like this:
>
> abstract void myRpcCall(RpcController controller, Request request, 
> RpcCallback<Response>
> done)
>
> So what I would like is to generate Java and/or Scala code to produce an
> implementation like the canonical Finagle form.  The protobuf documentation
> suggests that plugins can be added to protoc to do this sort of code gen
> but there is apparently no examples or a tutorial for adding a java code
> generator plugin to Javac.  I've also seen Kenton Varda suggest that
> there are third party add ons to protobuf that could be used as an example,
> but I spent an evening Googling to no avail.
>
> Does anyone have some insight on how to add a Java code generator protoc
> plugin or a working example or some open source implementation?
>
> Any help would much appreciated.
>
> Cheers,
> Patrick
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to