【发布时间】:2011-01-15 23:03:43
【问题描述】:
我关注this tutorial 并决定使用Gilead 来避免编写DTO 样板。
但是还没有成功。我按照教程建议做了:
-
让我在服务器端的 POJO 扩展
net.sf.gilead.pojo.java5.LightEntitypublic class Attachment extends LightEntity implements Serializable { ... }
-
让我的服务器端服务实现扩展
net.sf.gilead.gwt.PersistentRemoteService公共类 LoginServiceImpl 扩展 PersistentRemoteService 实现 LoginService { ...}
完全按照教程配置 beanManager。
当我尝试使用扩展 Gilead 的 LightEntity 的服务器端类时,我收到错误消息,好像没有 Gilead,只是限制了服务器代码。
这是我包含在构建路径中的 JAR:
【问题讨论】:
-
我放弃了 Gilead,我正在编写普通的 DTO。不过,我会保留这个问题,也许我们会找到答案。
标签: java hibernate gwt dto gilead