Grails 1.1.1 released with Google AppEngine support

巫马俊力
2023-12-01

Engineering
Graeme Rocher
May 14, 2009

Today we are pleased to announce the availability of Grails 1.1.1 which whilst providing many incremental improvements over Grails 1.1 also introduces official support for Google AppEngine.

Groovy itself has been running on AppEngine since its launch, but we had to make a few tweaks here and there in Grails to make Grails applications run on AppEngine.

Included in this is the introduction of an AppEngine plugin which replaces Hibernate with JDO (and soon JPA) for persistence in order to take advantage of Google’s DataStore API. The AppEngine plugin also integrates the AppEngine development environment with Grails so that you can run your Grails application locally inside the AppEngine container whilst still benefiting from hot reloading support.
Getting Started

As with many things in Grails the ease of use is something best demonstrated visually, hence we have prepared a screencast demonstrating creating a Grails application and deploying to Google AppEngine using the AppEngine plugin. Simply click on the image below to start the screencast:

Grails AppEngine Screencast

For even more information there are detailed step-by-step instructions on how to create and deploy a Grails application to Google AppEngine on the AppEngine plugin page.
The Future

The Grails and AppEngine combination is already the most productive combination you can use to deploy Java applications to AppEngine, but we are not finished yet. We are hard at work on building GORM-like abstractions over JPA and JDO in order to bring productivity enhancements to the AppEngine DataStore API and users of JPA/JDO in general.

Luckily since Groovy produces valid Java bytecode we are able to take advantage of all of the AppEngine features and tools such as the DataNucleus Enhancer. The ultimate goal is to make Grails the primary environment for building applications targeting the AppEngine Java SDK and a real viable alternative from a productivity standpoint to the Python SDK. What we have introduced today is a great step in that direction.
Resources

Google AppEngine - http://appengine.google.com

Grails 1.1.1 - http://grails.org/Download

Grails AppEngine Plugin - http://grails.org/plugin/app-engine

Grails Documentation - http://grails.org/doc/1.1.x

comments powered by Disqus

translate:
翻译:

今天,我们很高兴地宣布Grails 1.1.1的可用性,它在对Grails 1.1进行许多改进的同时,还引入了对Google AppEngine的官方支持。

自启动以来,Groovy本身就一直在AppEngine上运行,但是我们必须在Grails的各处进行一些调整,以使Grails应用程序在AppEngine上运行。

其中包括引入了AppEngine插件,该插件可使用JDO(以及后来的JPA)将Hibernate替换为持久性,以便利用Google的DataStore API。 AppEngine插件还将AppEngine开发环境与Grails集成在一起,因此您可以在AppEngine容器内本地运行Grails应用程序,同时仍然受益于热重载支持。
入门

与Grails中的许多内容一样,易用性在视觉上得到了最好的体现,因此,我们准备了一个截屏视频,演示了如何创建Grails应用程序并使用AppEngine插件将其部署到Google AppEngine。只需单击下面的图像即可开始截屏:

 类似资料:

相关阅读

相关文章

相关问答