Google Web Toolkit (GWT) + Google App Engine (GAE) + 分离数据持久性 [英] Google Web Toolkit (GWT) + Google App Engine (GAE) + Detached Data Persistence
问题描述
我想使用 GWT 和 GAE 开发一个需要数据持久性的网络应用程序.据我了解,我唯一(或至少迄今为止最方便)的数据持久性选项是 GAE 的数据存储,使用 JDO 或 JPA 注释对象.我还希望能够使用 GWT 远程过程调用 (RPC) 在客户端-服务器之间来回发送我的对象,因此我的对象必须能够分离".但是,GWT RPC 序列化无法处理分离的 JDO/JPA 对象,而且在不久的将来似乎不会.
I would like to develop a web-app requiring data persistence using GWT and GAE. As I understand it, my only (or at least by far the most convenient) option for data persistence is GAE's Datastore, using JDO or JPA annotated objects. I would also like to be able to send my objects back and forth client-server using GWT Remote Procedure Calls (RPC), therefore my objects must be able to "detach". However, GWT RPC serialization cannot handle detached JDO/JPA objects and it doesn't appear as though it will in the near future.
我的问题:对此最简单、最直接的解决方案是什么?能够在服务器端持久性的情况下共享相同的客户端/服务器对象将非常方便.
My question: what is the simplest and most direct solution to this? Being able to share the same objects client/server with server-side persistence would be extremely convenient.
编辑
我应该澄清一下,我仍然希望将 GWT RPC 与 GAE 的数据存储区一起使用.我只是在寻找可以让所有这些技术协同工作的最佳解决方案.
I should clarify that I still wish to use GWT RPC with GAE's Datastore. I am just looking for the best solution that would allow all these technologies to work together.
推荐答案
尝试使用 http://gilead.sourceforge.净/
这篇关于Google Web Toolkit (GWT) + Google App Engine (GAE) + 分离数据持久性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!