将Grails应用程序移植到GAE [英] Porting a Grails application to GAE

查看:105
本文介绍了将Grails应用程序移植到GAE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个Grails应用程序,我正在评估它将移植到Google App Engine,并希望了解以下经验:

I currently have a Grails application I'm evaluating to port to Google App Engine and I'd like to know experiences regarding:


  1. Acegi安全性:应用程序依靠此库来实施安全性(更新:刚刚了解到它基于hibernate,因此无法移植;所推荐的任何替代品)?
  2. 使用JPA或JDO而不是hibernate插件(我将不得不迁移域类);哪一个更好?

  3. 我有越来越多的预生成pdf文件,我一直在上传;是否有任何可预见的问题呢?

预先感谢。

Thanks in advance.

推荐答案

我确定这不是您想要的答案,但我花了一些时间在GAE上探索Grails,最后得出结论,这不适合。在放弃(或解决)本地域功能时,放弃许多插件,并处理其他轻微不兼容问题,您基本上已经消除了Grails的大部分生产力优势。我会考虑一个标准的J2EE,一个兼容的框架,或者可能是一个基于GWT的GAE应用程序。如果您想坚持使用Grails,我会将它托管在AWS或专用的J2EE托管提供商上。

This isn't the answer you want, I'm sure, but I spent some time exploring Grails on GAE and finally came to the conclusion that it's not a good fit. By the time you give up (or work around) the native Domain capabilities, forego many of the plugins, and deal with the host of other minor incompatibilities, you've essentially wiped out most of the productivity advantage of Grails. I'd consider a standard J2EE, a compatible framework, or possibly a GWT based app for GAE. If you want to stick with Grails, I'd host it on AWS or a dedicated J2EE hosting provider.

也就是说,我希望整合最终能够干净利落,因为GAE是一款非常酷的引擎/模型。

That said, I hope the integration eventually works cleanly because GAE is a pretty cool engine/model.

这篇关于将Grails应用程序移植到GAE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆