哪种配置更适合数据持久性(GAE 目标)、GWT + Roo VS GWT +对象化应用程序引擎?
我正在为基于 GWT 的应用程序配置和选择架构组件。我必须选择一种简单的方法将我的数据模型保留在目标服务器上,即 Google-App-Engine。
参赛者:
Spring Roo:我已经尝试过并将其集成到我的项目中,效果非常好。似乎使用起来很简单,并且 java AspectJ ITD 似乎是一项非常酷的技术,可以帮助我生成和保存我的实体。目前它仅适用于 JPA,因此并没有真正发挥 DataStore 的真正潜力(仅限 RDBMS :(
< strong>Objectify:尚未尝试过,但直接解决 Google DataStore API 似乎很棒,我检查了示例用法,它看起来也非常好。
谢谢
!
I'm in the middle of configuring and choosing my architecture components for my GWT based we application. I have to choose a simple way to persist my data model on the target server which is Google-App-Engine.
Contestants:
Spring Roo: I've tried this and integrated it in my project and it's pretty nice. Seem to be simple to use and the java AspectJ ITD seem a very cool tech to assist me in generating and persisting my entities. For now it only works with JPA so, not really exploiting DataStore real potential (RDBMS only :(
Objectify: Not tried this one yet but it seems great to address directly the Google DataStore API. No fuzzle with JDO. I checked sample usage and it looks very nice too.
Does any experienced guy has an opinion?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我创建了一个未发布的 Roo 附加组件,它使用 Twig 来实现 GAE 持久性。 Twig 太棒了,几乎没有配置,只有当我过度时才会出现问题 -配置的东西。 GAE 上的 JPA 的问题在于它只是 JPA 1.0,并且 GAE 的 Datanucleus 插件充其量只是粗略的。
如果我只针对 GAE,我会使用 Twig 或 Objectify。如果您感兴趣,我可以将我的 Twig 插件发布为 Google Code 项目。
I created an unpublished Roo add-on which used Twig for GAE persistence. Twig is fantastic, there is almost no configuration and problems really only arose when I over-configured things. The problem with JPA on GAE is that it is only JPA 1.0 and it the Datanucleus plugin for GAE is sketchy at best.
If I were solely targeting GAE I would be using Twig or Objectify. If your interested I can publish my Twig add-on as Google Code project.
在 GAE 开发模式中,您只能以编程方式保留对象(我在过去 3 天中搜索了如何将数据从在线数据存储批量导入/同步到本地数据存储的解决方案,但似乎对于 java 应用程序没有简单的解决方案 - 至少我知道)但是如果你仍然想要 NoSQL,objectify gwt 对你来说是一个很好的解决方案。一票投给了 Objectify。
In GAE Development Mode you can only persist object programatically (I've searched in last 3 days for solution how to batch import/sync data from online datastore to local datastore but it's seem there isn't easy solution for java app - at least as I known) but objectify gwt is good solution for you if you still want NoSQL. One vote for Objectify.