views:

357

answers:

3

I've been playing around with Grails and Google App Engine for a day or so using Eclipse+STS+Google plugin and I've been running into a number of roadblocks.

However, I'm not sure if this is just lack of experience with them on my part or if the Grails+GAE support is just not mature enough. Should I switch to Java+GAE until the Grails support matures?

+3  A: 

Checkout Gaelyk lightweight Groovy implementation and web framework meant to be used on GAE.

Boris Pavlović
The Gaelyk site says, "At the time of the creation of the project, Grails was not yet ported to App Engine, and we felt a streamlined toolkit would be interesting. For bigger applications, you should be considering Grails though..." It sounds like they are suggesting Grails for a larger application.
Taylor Leese
You can always use Amazon's EC2 to deploy your Grails apps.http://chris-richardson.blog-city.com/grails_plugin_for_deploying_to_amazon_ec2.htm
Boris Pavlović
I don't want to pay for Amazon EC2 and I believe CloudFoundry is also going to require paying at some point in the future as well. That was my reason for wanting to use GAE.
Taylor Leese
A: 

Grails on App Engine is definitely maturing with each new release (of Grails and the App Engine plugin). If you post questions regarding your particular road blocks I'm sure people will be able to help you. There are quite a few public Grails/GAE sites out there now.

As Boris posted, Gaelyk is a good lightweight alternative for simpler sites.

leebutts
Posted a few of them:http://stackoverflow.com/questions/2128569/grails-class-org-grails-tomcat-tomcatloader-was-not-found-in-the-classpathhttp://stackoverflow.com/questions/2128544/grails-warnings-errors-during-run-app
Taylor Leese
@leebutts Except grails nabble forum (http://old.nabble.com/grails---user-f11861.html), what are the other <quote>"Grails/GAE sites out there now"</quote> ?
fabien7474
Found these via Google (a couple seem to down though!)http://groovytweets.appspot.comhttp://petclinic-grails.appspot.com (demo app from Graeme Rocher, Grails lead)http://mindhackme.appspot.com/http://maxieduncan.appspot.com/
leebutts
+2  A: 

I wouldn't go for it. It needs more time to mature.

The website itself states that the plugin is bugged.

Bugs

It is true that there are some bugs with this plugin, but most have a solution at this time.

Example: The "DataNucleus Enhancer prevents application from building on Windows OS due to path length exceeding max path length on Windows."

However, there is a work-around for Windows and this wont stop use of the plugin.

Some annoying bugs have not been fixed:

If you feel like spending time debugging the plugin, writing and testing workarounds, go for it. Still, you wouldn't be safe from critical/blocker issues which will make you MAAAD!

If you really want to work on App-Engine, using Eclipse and the Google Plugin for Eclipse seems the easiest and most efficient method.

rochb
I saw the comment, "However, there is a work-around for Windows and this wont stop use of the plugin." and was pretty frustrated that the solution appears to be known but isn't shared. I ended up building a POM to do Java+GAE using Google's maven plugin. It works quite well so I'm not actually using the Google Eclipse plugin at the moment. I also noticed the orphan java process happens when I do gae:run for debugging as well with Java/Maven so maybe that is not specific to Grails.
Taylor Leese
Grails is "Rapid", "Dynamic" and "Robust" but everything just goes away with the GAE plugin.
rochb