Liferay is an open platform in an ecosystem of open platforms. Just because Liferay has its own MVC framework doesn’t mean you have to use it. It is perfectly valid to bring the tools and experience you have from other development projects over to Liferay. In fact, we expect you to. Liferay’s development platform is standards-based, making it an ideal choice for applications of almost any type.
If you’re already a wizard with Spring MVC, you can use it instead of Liferay’s
MVCPortlet
class
with no limitations whatsoever. Since Spring MVC replaces only your
application’s web application layer, you can still use
Service Builder
for your service layer.
So what does it take to implement a Spring MVC application in Liferay?
-
Develop as you normally do using Spring MVC.
Since you already have your app, you’ll start with configuration.