How Deploy Our WebApp into Liferay

大憨熊 提交于 2019-12-11 20:44:24

问题


I am new to Liferay, I have a webapp (built with Struts/Spring/Hibernate).

My question is how to deploy this WebApp into Liferay 6.2 Environment. Is this possible?


回答1:


If you want to run it as a liferay portlet - first of all you have to convert your web application into a portlet application. Which means at least creating a few additional configuration files (liferay-display.xml, liferay-portlet.xml, etc). Not difficult but best to read some docs first.

If you want to simply run it along with your liferay, just put your WAR to /liferay/tomcat/webapps folder and it will get deployed. It won't be a portlet but will still run as a web-app.




回答2:


We can deploy the web applications into liferay environment but I am not sure if it work properly or not.. Because portlet work flow is different from web application flow. We need framework specific bridges that will convert normal web application flow into portlet work flow.

Like Spring Portlet MVC

Liferay Faces for JSF

Struts Bridges

For more liferay stuff please have look into http://liferaysavvy.com

Please have look into following links

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



来源:https://stackoverflow.com/questions/24134079/how-deploy-our-webapp-into-liferay

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!