开发者

Grails and Google App Engine - Should I use them together?

开发者 https://www.devze.com 2022-12-17 19:28 出处:网络
I\'ve bee开发者_如何学运维n 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.

I've bee开发者_如何学运维n 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?


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:

  • on windows, killing the grails app-engine run process leaves an orphan java process, so every time, you have to manually end the java process,
  • flash.message is broken on GAE,
  • Cannot run integration tests with GAE/GORM-JPA.

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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号