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.
Related
Hey does anyone know why Google Cloud Endpoints for Go-lang isn't in the standard environment on Google App Engine? It's only seemed to be officially supported/documented for Python / Java.
Is it because
A) Cloud Endpoints is coming to Golang soon / someday.
B) Cloud Endpoints isn't so great, so it's not going to be implemented in Golang.
C) Something else.
There's this "non-standard" lib https://github.com/GoogleCloudPlatform/go-endpoints but it hasn't been updated in 9 months.
I'm trying to choose between Python and Golang for a GAE project, and this lack of support for Cloud Endpoints is giving me pause.
Thanks in advance.
Product manager Dan Ciruli answered this on the google-appengine-go mailing list :
There are two primary reasons, and the second is a byproduct of the
first. We've had much less uptake on the Endpoints Go framework --
perhaps because, in the words of a developer I spoke to, "Go just
isn't a 'framework' language." Unlike, Java, Python (and, say, Node),
most developers using Go don't use a framework for writing an API
backend.
And, at least partially because of that, we aren't staffed on the
Endpoints team to build and support a framework in Go.
He added:
All hope is not lost. You can put a Go API behind Endpoints today on
GAE Flex or Container Engine (without framework) using the Extensible
Server Proxy. And later this year, we should be able to get the ESP
deployed in GAE standard environment, you'll get the full power there,
too.
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.
I'm developing a Google App Enigne application that uses some REST services and offers in turn web services. I'm using the GAE Eclipse plugin. I have 2 questions:
What is the best JAX-RS library to use with GAE nowadays? I'd like to use Jersey because I understand is the most "standard" library (isn't it?), but I could use any in principle... I've been looking for documentation, but I've only found some samples in blogs that only work with old versions of Jersey, etc...
For the web services I have to offer, I thought of using JAX-RS as well, but now I'm not sure if it's the best option...
You can use Jersey 1.5. You can see all frameworks that will play on GAE at http://code.google.com/p/googleappengine/wiki/WillItPlayInJava
But GAE has realized on version 1.7.5 as experimental service Endpoints which in term are rest service. Check https://developers.google.com/appengine/docs/java/endpoints/
For web service I don't know if you mean soap service..JAX-RS is the specification for rest service, instead you should use JAX-WS I don't try the compatibility with this specification.
After a little research on this subject, I've found out that the best way to offer web services from Google App Engine is using Google Cloud Endpoints, which is still an experimental technology but as far as I've tried, it works well. Furthermore it is very well integrated with GAE and the Google Plugin for Eclipse.
To cosume REST services from Google App Engine, I've opted for using just Java build-in HTTP client library as explained here. I don't know if it's the best way, but it is very simple and you avoid compatibility problems that could arise between GAE and JAX-RS APIs such as Jersey.
In order to work with JSON in GAE (very useful for RESTful services), I'm using Google's gson, which is a Java library that can be used to convert Java Objects into their JSON representation and vice-versa.
which is the best front-end solution for a GAE app. developed in Go?
best:=
the question is about choosing a solution that merges well with the GAE, as an example if I use GAE in Java I would pick up GWT, and I want to know how other people are using the GAE with Go;
why this question:=
the reason I'm asking this is that I want to understand if, today, there is an advisable path to follow in designing a web application that uses GAE with go when I have to choose something for the front-end ..and I'm trying to figure it out before digging into a useless 'reinventing the wheel coding mode'.
You can take a look at Gorilla web toolkit, is has been designed with App Engine in mind.
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.