Google Web Toolkit(GWT)+ Google App Engine(GAE)+分离数据持久性 [英] Google Web Toolkit (GWT) + Google App Engine (GAE) + Detached Data Persistence

查看:165
本文介绍了Google Web Toolkit(GWT)+ Google App Engine(GAE)+分离数据持久性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个需要使用GWT和GAE的数据持久性的web应用程序。据我所知,我唯一的(或至少是最方便的)数据持久性选项是GAE的数据存储,使用JDO或JPA注释对象。我还希望能够使用GWT远程过程调用(RPC)来发送客户端 - 服务器对象,因此我的对象必须能够分离。但是,GWT RPC序列化不能处理分离的JDO / JPA对象,并且它不会像在不久的将来那样出现。



我的问题:最简单的最直接的解决办法呢?能够与服务器端持久性共享相同对象客户端/服务器将非常方便。



编辑



我应该澄清一点,我仍然希望将GWT RPC与GAE的数据存储一起使用。我只是寻找能够让所有这些技术一起工作的最佳解决方案。 尝试使用 http://gilead.sourceforge.net/


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.

EDIT

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.

解决方案

Try use http://gilead.sourceforge.net/

这篇关于Google Web Toolkit(GWT)+ Google App Engine(GAE)+分离数据持久性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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