使用 GWT+Eclipse 开发和部署 JSR-168 portlet
我有一个 GWT 应用程序,我想将其构建为 Portlet。 我已经用 Liferay 但生成的 portlet(.war 文件)无法部署到 Apache Pluto 中。
我想知道是否有人有一些关于如何构建可以部署在任何 JSR-168 兼容门户中的 JSR-168 portlet(使用 GWT 和 Eclipse)的 HOWTO 信息。 我不确定这是否可能。
我已经阅读了 Pluto 提供的官方文档,我真的需要一些东西更详细。
谢谢!
I have a GWT app that I want to build as a Portlet.
I have already done that with Liferay but the portlet generated (.war file) cannot be deployed into Apache Pluto.
I would like to know if anybody has some HOWTO info about how to build JSR-168 portlets (with GWT and Eclipse) that can be deployed in any JSR-168 compliant portal. I'm not sure if this is possible though.
I've already read the oficial documentation offered by Pluto and I really need something more detailed.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
具体是什么导致它无法部署在标准容器中?
我已经将 GWT 应用程序写入基于 pluto 的门户几次,并且除了将数据传输到应用程序之外没有遇到太多问题。 简而言之,我创建了一个标准 JSP portlet,它加载编译期间生成的 GWT javascript 文件,并将应用程序加载到该 portlet 的 JSP 页面中的 div 面板中。
What specifically makes it not able to be deployed in a standard container?
I've written GWT apps into pluto based portals a few times and haven't had too many issues outside of communicating data into the app. In short, I created a standard JSP portlet that loaded the GWT javascript files that get generated during compile and loaded the app into a div panel in the JSP page for the portlet.
我建议您查看 Vaadin。 它使用 GWT 作为 UI,但在服务器端工作,并且可以轻松地作为 portlet 嵌入。 我知道可以对于 Liferay 来说非常好,因为我亲自编写了 Vaadin (GWT) 应用程序并将它们部署为 liferay 中的 portlet。 此外,Vaadin 在此声明它将支持 JSR-168 兼容门户,例如冥王星。
I would recommend taking a look at Vaadin. It uses GWT for the UI but works on the server side and can be easily embedded as a portlet. I know that works extremely well for Liferay as I've personally written Vaadin (GWT) apps and deployed them as portlets in liferay. Additionally, Vaadin states here that it will support JSR-168 compliant portals like Pluto.