We use protobuf in Drizzle as a mechanism to serialize information into files on disk. We are also send some of the messages over the network - depending on what it is.
If you need a transport mechanism, I suggest checking out setting up a gearman server (https://edge.launchpad.net/gearmand/+download) and then using the Java worker interface https://edge.launchpad.net/gearmanij to send protobuf messages around. (There are a bazillion different ways to do this, of course, this is just one we happen to be working with a lot ourselves and one which all of the pieces are available) Monty JavaSrvcs wrote: > I can't imagine any other use than using it to send data over the > network and use on the other end. > In fact is this not what it was invented for (communication). > > On 30 jun, 16:07, Kenton Varda <ken...@google.com> wrote: >> There are tons of resources on the internet and in books explaining how to >> do network programming in Java. Sorry, but this is really outside the scope >> of protocol buffers. >> >> >> >> On Tue, Jun 30, 2009 at 2:46 PM, JavaSrvcs <jvsr...@gmail.com> wrote: >> >>> Is there a full compilable example (in Java) on how to do this ? >>> What sort of service would I need to be running on a server to send >>> data (and have the server receive and convert the flat byte array into >>> a Java object). >>> On Jun 30, 2:32 pm, Kenton Varda <ken...@google.com> wrote: >>>> Protocol Buffers provides a way to convert between flat byte arrays and >>>> structured data. This is obviously useful for network communication, but >>>> protocol buffers does not provide any explicit networking support. It's >>> up >>>> to you to take the byte array generated by protocol buffers and send it >>> over >>>> the network. >>>> On Tue, Jun 30, 2009 at 12:45 PM, JavaSrvcs <jvsr...@gmail.com> wrote: >>>>> I was led to believe that protocol buffers could be used for PC to PC >>>>> communication, is there a way to do this, and if so, where can I find >>>>> the examples? >>>>> The example I am looking at provided writes to a file.- Ocultar texto de >>>>> la cita - >> - Mostrar texto de la cita - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---