Re: How to migrate to protocol buffers from bean style data structure

2008-12-17 Thread Kenton Varda
You might be interested in the protobuf reflection interface. You can use Descriptors to examine a message type and then use the methods of the Message and Builder interfaces (e.g. Message.getField()) to examine the fields of an actual message object. With these, you could write a generic algorit

Re: How to migrate to protocol buffers from bean style data structure

2008-12-16 Thread atulatri2004
Thanks for answer Ketan. On Dec 17, 12:41 am, Kenton Varda wrote: > On Tue, Dec 16, 2008 at 2:27 AM, wrote: > > > Hi, > > I have couple of questions regarding protocol buffers in java > > 1. I am using old bean style data structures. How can i migrate to > > protocol buffers and what problems m

Re: How to migrate to protocol buffers from bean style data structure

2008-12-16 Thread Kenton Varda
On Tue, Dec 16, 2008 at 2:27 AM, wrote: > > Hi, > I have couple of questions regarding protocol buffers in java > 1. I am using old bean style data structures. How can i migrate to > protocol buffers and what problems may arise due to this migration. This is a pretty broad question with many re

How to migrate to protocol buffers from bean style data structure

2008-12-16 Thread atulatri2004
Hi, I have couple of questions regarding protocol buffers in java 1. I am using old bean style data structures. How can i migrate to protocol buffers and what problems may arise due to this migration. 2. How can i serialize bean style data structures using protocol buffers? --~--~-~--~