Now it’s time to build and deploy your modules. To build your project, run
gradlew build
from your application project’s root folder.
Now check all of your modules’ /build/libs
folders. There should be a newly
generated JAR file in each, which is the file to deploy. You can deploy each JAR
by running blade deploy
from each module’s root folder.
Once you’ve successfully deployed your modules, you can list them from the Gogo shell as shown below.
Figure 1: Once you've connected to your Liferay instance in your Gogo shell prompt, run *lb* to list your new converted modules.
These tutorials explained how to convert your traditional application into the modular format of a Liferay DXP 7.1 style application. Specifically, you learned how to
- Create a web client (
*-web
) module that holds your application’s portlet classes and UI. - Create a service implementation module (
*-service
) and a service API module (*-api
). - Run Service Builder to generate code for your application’s service and API modules.
- Wire your modules together by declaring their dependencies on each another.
- Build your modules and deploy them to your Liferay DXP installation.
Great job!
Related Topics