[google-appengine] Re: Protocol Buffers with Appengine

2009-04-22 Thread vijay
HI Nick,Thanks for responding.
I want to use protocol buffer because it have autogenerated methods and are
 serializable which i am doing by defining a data class for persistance
storage. But I could not find any example where Protocol buffer are used for
this purpose and could n't think of any obvious reason.
Can you point me to some documentation or example related to it.
Also I am not sure why cant we use index for protocal buffers.

On Tue, Apr 21, 2009 at 5:41 PM, Nick Johnson (Google) <
nick.john...@google.com> wrote:

>
> Hi Vijay,
>
> You certainly can use Protocol Buffers to persist your data. Unless
> you have a well-defined need for the features of Protocol Buffers,




> though, you probably just want to use JDO directly, since that allows
> your data to be indexed, as opposed to treated as an opaque blob. The
> documentation on how to use JDO with App Engine is here:
> http://code.google.com/appengine/docs/java/datastore/usingjdo.html
>




>
> -Nick Johnson
>
> On Apr 21, 6:59 am, vijay  wrote:
> > Hi All,I am working on a website(using GWT and appengine)  where I need
> to
> > save some data to app engine datastore using JDO, for this as mentioned
> in
> > tutorials<
> http://code.google.com/appengine/docs/java/gettingstarted/usingdatast...>I
> > need to write a persistent class, I would like to know if I can use
> > proto
> > buff 
> and Is
> > there a way to make it persistent, I guess that will save me lot of time
> and
> > code. Any suggestions??
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Protocol Buffers with Appengine

2009-04-21 Thread Nick Johnson (Google)

Hi Vijay,

You certainly can use Protocol Buffers to persist your data. Unless
you have a well-defined need for the features of Protocol Buffers,
though, you probably just want to use JDO directly, since that allows
your data to be indexed, as opposed to treated as an opaque blob. The
documentation on how to use JDO with App Engine is here:
http://code.google.com/appengine/docs/java/datastore/usingjdo.html

-Nick Johnson

On Apr 21, 6:59 am, vijay  wrote:
> Hi All,I am working on a website(using GWT and appengine)  where I need to
> save some data to app engine datastore using JDO, for this as mentioned in
> tutorialsI
> need to write a persistent class, I would like to know if I can use
> proto
> buff  and Is
> there a way to make it persistent, I guess that will save me lot of time and
> code. Any suggestions??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---