@Evan - Right. So in that case, we would use the writeDelimitedTo or some such equivalent option to stream a number of small messages together. I got this far. My problem is trying to make this work with the Jersey REST framework. Here, for each type of input/output you send and receive, provider classes are created. So, the same is done for the protobuf type as well. These provider classes can receive only protobuf Message type objects which are then writtent to the output stream. The writeDelimitedTo method writes to stream. I cannot convert this stream to a message type without actually creating a separate proto file to handle this.
Is there any way of working around this problem? On Jan 13, 5:57 am, Evan Jones <ev...@mit.edu> wrote: > On Jan 12, 2011, at 8:38 , Meghana wrote: > > > Would ListA also be considered a large message or will the encoding be > > done on each individual A message making it immune to the large > > message problem? > > ListA itself will be a large message if it contains a large message of > a sub-messages. If you are really sending / writing a large number of > messages, you want to read something like: > > http://code.google.com/apis/protocolbuffers/docs/techniques.html#stre... > > Good luck, > > Evan Jones > > -- > Evan Joneshttp://evanjones.ca/ -- 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.