Liferay has two types of services:
1) Internal Services
Liferay core services, such as portal-impl.jar
2) External Services
That is, portal APIs, such as portal-kernel.jar and portal-service.jar
The liferay internal service is updated frequently. Pay special attention to the liferay version upgrade. The liferay external service is quite stable.
EXT development can use the internal service and external service at the same time. The latest trend of liferay is that ext development will no longer support portlets development and themes Development (except struts Portlet ).
EXT is a complete development environment that allows you to easily customize liferay portals as needed. It integrates multiple liferay tools for developing Portlet and portal, such as JSP Portlet, Struts Portlet, and even servicebuilder.
The plugin SDK is used to complete theme, layout template, Portlet, hooks, and Web application. Therefore, for liferay beginners, liferay plugin SDK development is a better choice.
The plugin SDK is a relatively simple liferay development environment. It completely isolates the Internal Service of the liferay portal and only uses the external service. This forces the newly developed Portlet to use only the portal-kernel.jar and portal-service.jar, regardless of the portal-impl.jar, which is advantageous in upgrading the version.
Both the plugin SDK and ext development environments can use any application framework supported by liferay, for example: JSF, JSP, Ruby, lazzlo, PHP, JSON, hibernate, Dao, spring MVC, struts, tapestry, Wicket, Python, lar (liferay archive), etc.
Download liferay-plugins-sdk-5.2.3.zip, less than 10 MB. Create a Java project and import it. The project structure is as follows:
Everything is simple