问题
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