-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App engine 1.6 #31
Comments
I'm working on it right now and should deliver a new draft version for tests quite soon! |
Thanks man, you are great. |
I'm not sure it's possible because Google has the bad idea in general to write its Java API linked to java servlets which is a really bad idea and even worse when you use Play :D :D |
I've just asked the same question to Pascal on Twitter. Wouldn't it be awesome to wrap also those GAE services and make a GAE fully portable (using Siena of course)? What's exactly the problem with servlets? QueueFactory.getDefaultQueue().add( withUrl( ''/tasks/worker" ) |
I don't say it's impossible, it just need to be studied a bit :D actually play-gae is a trick that uses low level GAE Environment and NOT The problem of GAE SDK is that all APIs are build on HttpServletRequest Maybe we need to rethink the play-gae module but it's hard if we want to Pascal On Fri, Nov 25, 2011 at 12:09 AM, ZiglioNZ <
|
I've read this thread: So the problem with deploying it as a war appears to be that play wouldn't run in the same 'playful' way. I don't know anything about com.google.apphosting.api.ApiProxy, first time I see it. I don't want to keep Pascal awake all night :-) you may want to have a look at Restlet GAE edition: |
Update, this is all too interesting: Well, I guess Play is so radically different that it's difficult but not impossible to use it side by side with servlets. |
I went to bed anyway :D On Fri, Nov 25, 2011 at 1:11 AM, Emanuele Ziglioli <
Adding taskqueues and such services may be possible... Once deployed in GAE, the Play instance runs behind a servlet so you can An advantage of Play is also that it generates light Java servers without Pascal
|
I think we just enjoy Play on app engine. Now it is great, just support new versions of gae. |
Very clever! But then on production, GAE is still a servlet container so it certainly runs slower than on bear HttpRequest/Response (has anybody measured the impact?). I wonder whether anyone has filed a request to run GAE without servlets... Considering they now provide other runtimes such as go, it should be feasile.
Now that's a real problem. For example we use the GAE mail service to receive e-mails and that's implemented via servlet, (via web.xml). Does that mean that Play cannot access that service for example? If that works, potentially there could be ways to use GAE services without the need for servlets! |
On Sun, Nov 27, 2011 at 10:42 PM, Emanuele Ziglioli <
You debug play by connecting in remote debug mode to Play from Eclipse!
You can call mail service from Play. It works!
It would be a shame to have to rewrite GAE SDK! Pascal
|
Great, I couldn't find it in the code, where is it? |
On Tue, Nov 29, 2011 at 11:46 AM, Emanuele Ziglioli <
look in the sample app in play-gae code written by Guillaume, it sends Task queues/Cron is next step... mapreduce I don't know how it works in GAE
|
It's 'receiving e-mails' that I was trying to understand whether it works with Play-Gae. MapReduce is very easy to setup (if you've got servlets). It uses tasks and provides a console. But you have to use the datastore api for now: http://techno.emanueleziglioli.it/2011/11/using-mapreduce-to-refactor-entities-on.html |
ah receiving emails might be a bit more complicated :D Don't hesitate to contribute because I'm busy on other projects too and By the way, did you see my GoogleCloudSql tutorial with new play-gae and Pascal On Tue, Nov 29, 2011 at 12:05 PM, Emanuele Ziglioli <
|
Not yet, I certainly will! time to turn the damn laptop off, it's already tomorrow :-) I'd like to try Play, it looks like a good way to make apps portable, since it's a platform. And in that case I'll be happy to contribute. |
Please add 1.6 support
The text was updated successfully, but these errors were encountered: