Do I have to use App Engine to write glassware with Mirror API? - google-app-engine

I am trying Python quickstart project (https://developers.google.com/glass/develop/mirror/quickstart/python) and it is implemented on GAE, however, looking at the code it does not seem that there is much dependency on App Engine itself (code is kind of complicated and I still do not understand it all though).
Is this required to host Mirror-based glassware on App Engine?

Is this required to host Mirror-based glassware on App Engine?
No, it is not required. What you really need is ability to use Google API's and Mirror API is just one of them.
Java quick start, for example does not run on top of GAE.

Related

Deploy non-web Java application

I have a relatively small Java app, which I'd like to move over to the Google App Engine. It runs in the console, with no user input needed after the initial startup. I researched a bit on how to deploy it, but all tutorials seem to focus on Java web apps, when I don't really need that. Is it possible to deploy my app if it's not a web app?
App Engine is probably the wrong GCP platform for you - you'd probably be better served just deploying your jar directly onto a Google Compute Engine node. GAE is pretty explicitly oriented around web applications and you'd need to do a bunch of configuration in order to have it work for your use case.
Does your non-web Java app handle web requests? If not, it seems difficult to imagine that you would be able to reach your deployed app and use it for any purpose, once deployed. Your Java app should be able to handle requests, to make deployment worthwhile, and the deployed app useful.
You may find out about how your app should handle requests by reading the How Requests are Handled documentation page.

Google Cloud Datastore requires app engine?

Im creating a Node.js website that probably won't have loads of traffic, and was looking into cheap solutions to host the site. Came across Google cloud services offering free usage for their services with limits. A f1-mirco is more than enough for my needs, but I will happily pay for some usage if it goes over by any chance.
I wanted to setup a linux centOS 7 on GCE (which I already did), and run my application and REST API on it. Now here comes the problem.
I tried to use Google's datastore service, but it sprung an app engine instance and without it datastore won't work.
Is datastore entirely relying on app engine to function?? In the docs, it said if you use any of the client API, it requires app engine. What can I do to not use the client api and query data then? Don't want to use the app engine at the moment or datastore is just not for me then?
Thanks for any help!
Some of the underlying infrastructure of Cloud Datastore and App Engine are still tied together for creation, etc. So while creating an Cloud Datastore database also defines an App Engine instance for the project, it doesn't require you to use it. You don't get charged for App Engine either, unless you decide to deploy an App using it.
You should be totally fine use the Google Cloud Node client library on the f1 micro instance.

Does Google provide support for Google APIs for vaadin if not using google app engine as a runtime..?

I am new in vaadin and developing a web project so want to know if i do't use Google App Engine as my project's run time environment so that am able to use Google all APIs such as:
*Calender API
*Contact API
*Drive API
* and also other which google provide :
Google APIs
As i get to know that GAE has lot of limitations.
Please suggest me for the structure design of an Enterprise project with
Maven+vaadin+Runtime Environment(Jboss)+Eclipse+MySQL
Google APIs does not require your application to be running on Google App Engine unless of course you’re trying to use an App Engine specific API like this.
If you’re seeking suggestions on how to structure your project using Google App Engine, you may want to do so in official App Engine Google Group as such questions can be considered too broad on stackoverflow.

Google App Engine Access Cloud Datastore from Different Project

I have been trying to find a solution to accessing a datastore in one project from a different google app engine project. I went through the tutorial on accessing a datastore from a different project's compute engine, however, this is not what I am looking for. What is required here is accessing a datastore on one project from a different app engine project. Has anyone done this successfully? Any ideas?
Cheers
As #Patrice says, this is possible by using the Remote API for Java (or for Python), which lets you access different App Engine services from any other application, as stated in the documentation.
For a more specific information on how to access the Datastore remotely with the Remote API, please take a look at this article from the documentation that explains step by step all the procedure.
Please, take into account that if your Google account is configured to use 2-Step Verification, you will need an App Password that authorizes the app to access your account resources.
there is actually an API that lets you make calls to App Engine services from anywhere, even from another App, as long as the credentials are ok, it's called the "remote API"

Do I need my own domain with Google App Engine?

My application is to use the Google App Engine to provide an embarrassingly parallel computation (and to serve the results to www-browsers). I've been through the Google App Engine "getting started" tutorial but I'm not sure if I need to register my own domain. Do I?
Nope. You can get at your app using the URL <<your-app-id>>.appspot.com. If you later want to wire that up to a separate domain that you own, you can do that, too.

Resources