Thanks!

Now JDO runs smoothly with remote-datastore.

All the Best
Uri


On Sep 7, 6:10 pm, John Patterson <[email protected]> wrote:
> Great!  There should be no problem storing objects on the production  
> servers using JDO as theRemoteDatastoreoperates below the low-level  
> API.  I use it with Twig to send object data from my desktop to my  
> live application and also to backup live object data locally to a file  
> using XStream.
>
> On 7 Sep 2010, at 21:18, luka wrote:
>
> > Thanks, now it's running smoothly.
>
> > Next challenge is integrating it to JDO ....
>
> > Is it doable ?
>
> > On Aug 19, 9:01 pm, John Patterson <[email protected]> wrote:
> >> Have you added appengine-testing-1.3.6.jar and appengine-api-
> >> stubs-1.3.6.jar to your project?
>
> >> On 18 Aug 2010, at 19:50, luka wrote:
>
> >>> Hi John,
>
> >>> The project
>
> >>>http://code.google.com/p/remote-datastore/
>
> >>> No longer compiles, since Google newest SDK removed the following
> >>> classes/interfaces:
>
> >>> com.google.appengine.tools.development.ApiProxyLocalFactory
> >>> com.google.appengine.tools.development.LocalServerEnvironment
>
> >>> Can you workaround that ?
>
> >>> What older SDK supports this project ?
>
> >>> Thanks
> >>> Uri
>
> >>> On Jul 5, 12:32 am, John Patterson <[email protected]> wrote:
> >>>> I have had success uploading data in bulk from Java using this
> >>>>RemoteDatastorecode:
>
> >>>>http://code.google.com/p/remote-datastore/
>
> >>>> It is very easy to use and because it operates at the binary  
> >>>> protocol
> >>>> buffer level it is very fast
>
> >>>> Here is an example of using it to upload data:
> >>>> public class UploadData
> >>>> {
> >>>>    public static void main(String[] args)
> >>>>    {
> >>>>      // only call install once - often in a static initializer
> >>>>      RemoteDatastore.install();
>
> >>>>      // tellremote datastorewhere to connect
> >>>>      
> >>>> RemoteDatastore.divert("http://myVersion.latest.myApp.appspot.com/remote-datastore
> >>>> ", "myApp", "myVersion");
>
> >>>>      // use standard datastore API to get a datastore service
> >>>> instance
> >>>>      DatastoreService service =
> >>>> DatastoreServiceFactory.getDatastoreService();
>
> >>>>      // create some entities
> >>>>      Entity entity1 = new Entity("myKindName");
> >>>>      entity1.setProperty("property1", "hello");
>
> >>>>      Entity entity2 = new Entity("myKindName");
> >>>>      entity2.setProperty("property1", "there");
>
> >>>>      // sends the data over http to your remote servlet and  
> >>>> stores it
> >>>> in the live datastore
> >>>>      datastore.put(Arrays.asList(entity1, entity2);
> >>>>    }
>
> >>>> }
>
> >>> --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "Google App Engine for Java" group.
> >>> To post to this group, send email to 
> >>> [email protected]
> >>> .
> >>> To unsubscribe from this group, send email to 
> >>> [email protected]
> >>> .
> >>> For more options, visit this group 
> >>> athttp://groups.google.com/group/google-appengine-java?hl=en
> >>> .
>
> > --
> > You received this message because you are subscribed to the Google  
> > Groups "Google App Engine for Java" group.
> > To post to this group, send email to [email protected]
> > .
> > To unsubscribe from this group, send email to 
> > [email protected]
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine-java?hl=en
> > .

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to