Where can you run GAE application built with "integrated" Datastore? Meaning, those application that were build prior to Google platform making the Datastore a separate service from the "core" GAE service. That is without modifying the project.
Can the current Google App Engine run "legacy" applications?
According to the first question App Engine can use Datastore without problem, what do you mean about "integrated"?
But Apps that use these APIs can only run in App Engine and will need to upgrade to the recommended Google Cloud APIs before migrating to newer App Engine runtimes.
And regarding to the last question App engine still provide support to:
Python 2.7
Java 8
Go 1.11
PHP 5.5
Related
I'm using Java and I want to use Datastore with App Engine. Which API should I use?
There is
'com.google.cloud.datastore' and there is 'com.google.appengine.api.datastore'
More specifically there is 'com.google.cloud.datastore.Entity' as well as
'com.google.appengine.api.datastore.Entity'. How do I decide which one to use?
Edit: I'm using Java 8 and App Engine standard. I'm also using Eclipse and Cloud tools. When I add Library using 'Google Cloud Platform Libraries', jars for both are added. See: https://cloud.google.com/eclipse/docs/libraries
The endpoints you mentioned are for the API and the Client Library:
com.google.appengine.api.datastore -> The API is specifically designed to work from Apps deployed on AppEngine.
com.google.cloud.datastore -> The Client Library could be used form any Application.
You can see the main difference of them here. Nonetheless,the way of calling DataStore would be mostly based on your environment (i.e Java8, Java7, AppEngine Standards/Flex, external applications).
Same applies for the Entities. One is for creating Entities with the API, the other one with the methods from the Client library.
I have to develop my application for both Android and iOS. Thus I came to the conclusion to use Xamarin for developing the app. But furthermore I want to develop my backend with Google app engine cloud endpoints, because it is very convenient to use them.
Can I use Xamarin with the endpoints?
Unfortunately, the current answer is no.
Cloud endpoints only runs with Linux, and Xamarin does not build Linux applications.
I have the impression that the Google App Engine allows an interface for developers to make use of Google's servers for storing custom application data in a highly scalable and cost effective way. Whilst working through their tutorials, it seems like tools are focused on aiding the development of 'web applications'.
I'm looking to take advantage of the GAE in order to serve data for a platform independent desktop application that I'm writing in Java, so my end product will not rest within the confines of a browser. Is this functionality supported by the GAE?
Yea! you can do that.
So basically, you are going to build a native application and use API calls to send/receive data from a server(GAE). I see a good solution will be to
Build your API endpoints using the Endpoints lib https://cloud.google.com/appengine/docs/java/endpoints
Then, depending on your application you can make API calls directly or build a client library
I have built my google app engine app using version 1.8.8 but the production server hosted by google uses 1.9.11. I think this may be causing problems within my app since my app works locally but not on the production server. Is there anyway to change the version of the sdk that the production server uses? I can't seem to find any documentation on this.
No, you cannot define specifically which version of the SDK will run on the production servers. Typically, they run on the latest available SDK. If you are certain the that problems are caused due to the different versions of the SDK, I would propose to update your code accordingly.
I was asked to provide a quick and easy solution for storing data in Java, and since I had experience in working with Google App engine, I thought that I could just use their Google Cloud Datastore (https://developers.google.com/datastore/). But, the project that I'm working on now is a desktop application with a GUI. My question is, would I be able to use these services even though the application I'm developing isn't a web app, and uses Java's GUI components?
Yes you can. The Cloud Datastore gives you access to the normal App Engine Datastore but does not require you to be running a web app. You can then use all the normal Datastore tools that App Wngine provides to manage your data.
You'll want to follow these instructions for setting up your Cloud Datastore project to connect from your GUI app.
It depends. dev_appserver isn't a hardened environment, and simulating a deployed environment is a priority over performance. dev_appserver provides a simulated Datastore, not the real thing. That said, I've built several single-user, locally-served web apps using both the Java and Python dev_appservers, because it was a convenient way to get started and performed well enough for my purposes.
I don't see why not,
Not a java dude, but it says it exposes a HTTP interface, so this:
code.google.com/p/google-http-java-client/
should allow you to communicate with it I believe.
Also perhaps have a read of this question
Database for Google App Engine and desktop application