锁定老帖子 主题:Play!跑在GAE上,小试GAE
精华帖 (0) :: 良好帖 (6) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2009-07-07
最后修改:2009-07-07
很长一段时间就想试试GAE,用其它java框架麻烦了,感觉不够轻,在不久前发现了 http://www.playframework.org/ 这个框架,相当于java on rails。以前的新闻已提到过。请参考: http://www.iteye.com/news/8322 http://www.iteye.com/news/4196-play-another-java-web-application-framework http://www.iteye.com/news/4395-play-1-0-stable4-version-of-the-release-and-to-provide-a-complete-program-of-the-forum-demo 这个是shinewang的blog,有很多play!的中文翻译,写的相当不错。 http://shinewang.iteye.com/blog/310439 我现在的GAE应用演示URL:http://javaweb2009.appspot.com/ 此演示是Play!自带的测试例子。 接下来的任务就是用Play!写一个单用户blog,这样就可以方便的利用Google的免费资源了,那是相当的酷。 另外Play!作者告诉我Play! 1.0正式版将在今年夏天完成,已就是这一二个月内的事,后面1.1将支持Scala。再就是完成Play!的文档工作。虽说当前Play!版本是1.0但是功能已经非常完善。 下面是作者的原话: 引用 I hope to release a 1.0 version during this summer.
At the same time we will launch a 1.1 branch including Scala support. There is still a lot of work especially to complete the documentation. Play!版本发布历史: 1.0-stable6, 1.0-stable5, 1.0-stable4, 1.0-stable3, 1.0-stable2, 1.0-stable1 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-07-08
play不错,我想知道跑在GAE上效率如何??
|
|
返回顶楼 | |
发表时间:2009-07-08
我也正在研究,至于在GAE上的效率无法考证现在,就看GAE的环境效率了,我还是比较相信Play!的效率。
我目前遇到的问题是GAE应用的是Datastore,限制太多了,很不习惯。 |
|
返回顶楼 | |
发表时间:2009-07-08
我周末的时候也挂了个play! todo,http://funforbook.appspot.com/,一开始老是跑不起来,appengine的一些限制encache1.6之前的版本,后来换了encache1.6 OK了,1.6支持appengine,
确实限制太多了,后来弄了个有表关联的没弄好 |
|
返回顶楼 | |
发表时间:2009-07-08
one23 写道 我周末的时候也挂了个play! todo,http://funforbook.appspot.com/,一开始老是跑不起来,appengine的一些限制encache1.6之前的版本,后来换了encache1.6 OK了,1.6支持appengine, 确实限制太多了,后来弄了个有表关联的没弄好 世界真小,有这么巧的事,我想搞个blog在GAE上,要不咱们一起搞搞? 另外我用Demo中的blog上去跑,也有不少问题,昨天上作者刚提交了一个fixed,他让我再试一下。 |
|
返回顶楼 | |
发表时间:2009-07-08
我那天也是弄了blog,改了下,刚才部署上去了,可以,并且把comment的去掉了
The following features of the JPA interface are not supported by the App Engine implementation: * Owned many-to-many relationships, and unowned relationships. You can implement unowned relationships using explicit Key values, though type checking is not enforced in the API. 好像要通过KEY来构建关联,我那次没关联起来 |
|
返回顶楼 | |
发表时间:2009-07-08
我这郁闷哦,用cygwin 运行play, 可以创建项目,但是运行 play run 会报错:
引用 Error opening zip file or JAR manifest missing : /cygdrive/d/lib/java/play-1.0-s table6/framework/play.jar Error occurred during initialization of VM agent library failed to init: instrument 还有治不 |
|
返回顶楼 | |
发表时间:2009-07-08
rikugun 写道 我这郁闷哦,用cygwin 运行play, 可以创建项目,但是运行 play run 会报错: 引用 Error opening zip file or JAR manifest missing : /cygdrive/d/lib/java/play-1.0-s table6/framework/play.jar Error occurred during initialization of VM agent library failed to init: instrument 还有治不 windows平台不用cygwin也可以,运行play.bat吧! |
|
返回顶楼 | |
发表时间:2009-07-08
rikugun 写道 我这郁闷哦,用cygwin 运行play, 可以创建项目,但是运行 play run 会报错: 引用 Error opening zip file or JAR manifest missing : /cygdrive/d/lib/java/play-1.0-s table6/framework/play.jar Error occurred during initialization of VM agent library failed to init: instrument 还有治不 我现在都跟在play!的最新版本,每天我都更新,不然在GAE上会有问题。 |
|
返回顶楼 | |
发表时间:2009-07-08
one23 写道 我那天也是弄了blog,改了下,刚才部署上去了,可以,并且把comment的去掉了
The following features of the JPA interface are not supported by the App Engine implementation: * Owned many-to-many relationships, and unowned relationships. You can implement unowned relationships using explicit Key values, though type checking is not enforced in the API. 好像要通过KEY来构建关联,我那次没关联起来 many-to-many限制了,有时候感觉还真不方便,其它关联是支持的吧?他们用python是没有这么问题么?其它用java开发的,也不知道他们怎么处理这些的? |
|
返回顶楼 | |