使用 GWT 的“共享”功能用于存储 EJB bean 的文件夹
是否可以使用 GWT 的“共享”文件夹来存储将由 EJB、GWT servlet 和 gwt 客户端(javascript) 端使用的 bean?
It is possible to use GWT's "shared" folder for storing beans, that will be used by EJB, GWT servlet and gwt client(javascript) side?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,可以,但它确实会限制您可以在这些 bean 中放入的内容(并非 GWT 中支持所有内容)。最好创建 DTO 层或使用 RequestFactory。
Yes you can, but it will really limit what you can put inside those beans (not everything is supported in GWT). It is better to create a DTO layer or use RequestFactory.