Alternative to Google App Engine API? - google-app-engine

I'm looking for an alternative of the Google App Engine API. I mean I'm searching an API for coding in JAVA that provides :
Simple DB API, with no conf
Simple User API, with no need to implements the login/register/user management process
Simple Task API, with no need to configure any third lib
Google App Engine is really attractive because it provides all theses functionalities with no effort ... But I need to port my app to my own server... Using appScale is not for me because I don't need something really scalable ... I just want to code the business model, not all things that should already exists.
Hope my question is clear :)
Thanks in advance for help, sincerely,

You can run AppScale on a single node deployment, you'll just lack fault tolerance. I am currently unaware of any other project that runs Java GAE apps.

Related

Combining Google App Engine and CloudMailIn on Heroku in one setup

I'm developing a web app on Google App Engine, for which I recently decided that it requires a high performance inbound email processing functionality. GAE's functionalities for incoming email are rather limited, however CloudMailIn on Heroku seems to be able to do everything that I want (https://addons.heroku.com/cloudmailin)
Would you consider it a wise decision to run the website, user accounts, and databses on GAE, and run CloudMailIn separately with e.g. an API connection to write to the datastore on GAE? So far I have built all my web apps on GAE, so I prefer to stick with what I know. However if this is likely to bite me once I scale, then of course I will move everything to Heroku. Does anybody have experience with this?
Thanks to answers from Peter and Steve I now understand that both Sendgrid and CloudMailIn can be controlled through a simple webhook, so no need to include Heroku here. FYI I ended up using MailGun Routes because their features had a better fit with my requirements.

Do I have to use App Engine to write glassware with Mirror API?

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.

App Engine Endpoints

Im starting a new application with AppEngine and I need a REST Service.
I was looking at Endpoints and I think they are exactly what I need.
I also read Google don't recommend to use Endpoints in production but my app first version is not going out until April approximately.
How mature do you think App engine Endpoints are?
Do you recommend to use them or should I find another REST framework.
If so, Are there any other REST framework similar to App Engine Endpoints?
or
Which one do you recommend, Restlet? or use it with Spring MVC?
Thanks
I'm a bit biased (being a Googler and member of the App Engine team), but I think Endpoints is worth a try. With regards to the general disclaimer on using Endpoints in production, we have allowed some developers to launch in production as long as they have spoken to us first.
I provided another answer to a related question on RESTful development here. The developer tried Endpoints and decided to use it over other options.

Any one tried MongoDB on Google App Engine?

I'm trying to deploy one of my java apps in GAE and I have used MongoDB. Unfortunately GAE doesn't allow me to create databases, however it suggests using Google Datastore. Are there any plugins or add-ons to use MongoDB.
You can't run MongoDB on GAE. You need to use the Google datastore.
Matt is right. If you want to deploy to Google's servers you can't use Mongo. If you are interesting in running your own server(s), check out AppScale.
If you really want to use MongoDB anyway, you'll have to find a third-party host that provides a REST interface through which you can make your transactions. I've personally tried and recommend MongoLab on App Engine. Then, in your code, use an HttpUrlConnection object to send/receive requests if you're doing it with Java.
I think you could deploy your app on app engine and create a separate vm instance in google compute engine that would have mongo installed, then you plug your GAE app on that vm for the db connection. This would allow you to keep all your app in the google cloud. See https://cloud.google.com/solutions/mongodb/ and http://docs.mongodb.org/ecosystem/platforms/google-compute-engine/
A lot of things have changed since this question has been asked, as of June 2021, you can use MongoDB Atlas with Google App Engine Standard running on Java 8 environment. I built my App with the Ktor framework that runs on App Engine and interacts with databases on MongoDB Atlas.
if you're still looking for an answer to this you might want to check this project that did exactly the same but in reverse, it will surely help you out with what you want to do.
http://code.google.com/appengine/articles/django-nonrel.html
you can use mongo, only if have something like on mongolab then use pymongo to connect and most important thing you need to enable socket api from gae dashboard.
it worked for me thanks

Port a live system from App Engine Helper to App Engine Patch

I am running a live system that is currently serving about 20K pages a day which is based on App Engine Helper (Python) with session support provided by AppEngine utilities.
One problem that I have been having is that sessions are occasionally randomly logging out. I would like to try using the App Engine Patch, since it has "native" django session support, but I am worried that this is possibly going to be like doing a brain transplant. Specifically, current database models are all inhereted from BaseModel provided by the App Engine Helper. While, App Engine Patch does not have this inheritance.
Does anyone know if it is possible to migrate a live system from App Engine Helper to App Engine Patch? If so, do you have any advice or warnings that I should heed, before attempting this transition?
Thank you and kind regards
Alex
After further investigations, I discovered that newer versions of Django and App Engine Helper have built in support for sessions. After migrating to this system, my problems of randomly losing sessions have been resolved.
Alex
You should think about porting your system not to App Engine Patch but to Django-nonrel (by app-engine-patch authors).
I moved from google-app-engine-django and app-engine-patch to Django-nonrel is because first two are not maintained any more.

Resources