如何将我们的WebApp部署到Liferay中

时间:2014-06-10 06:13:00

标签: java liferay liferay-6 liferay-ide

我是Liferay的新手,我有一个webapp(使用Struts / Spring / Hibernate构建)。

我的问题是如何将此WebApp部署到Liferay 6.2环境中。这可能吗?

2 个答案:

答案 0 :(得分:2)

如果要将其作为liferay portlet运行 - 首先,您必须将Web应用程序转换为portlet应用程序。这意味着至少要创建一些额外的配置文件(liferay-display.xml,liferay-portlet.xml等)。不难,但最好先阅读一些文档。

如果你想简单地将它与你的liferay一起运行,只需将你的WAR放到/ liferay / tomcat / webapps文件夹中它就会被部署。它不会是一个portlet,但仍然可以作为web-app运行。

答案 1 :(得分:1)

我们可以将Web应用程序部署到liferay环境中,但我不确定它是否正常工作。 因为portlet工作流程与Web应用程序流程不同。 我们需要特定于框架的桥梁,将正常的Web应用程序流转换为portlet工作流程。

像Spring Portlet MVC

Liferay Faces for JSF

Struts Bridges

如需更多关于liferay的内容,请查看http://liferaysavvy.com

请查看以下链接

https://www.liferay.com/community/wiki/-/wiki/Main/Web+Applications+Integration/pop_up?_36_version=1.2

https://www.liferay.com/community/forums/-/message_boards/message/9093005 https://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/developing-applications-for-liferay