Marco Napolitano

Passionate and addicted to technology

Cookies help us deliver our services.

By using our services, you agree to our use of cookies. Learn more

I understand

Don't expose a Liferay REST service

Who uses Liferay Service Builder knows that it's possible to generate both a local services layer, ie callable by the local JVM, and a remote services layer, that is accessible from a remote JVM typically via web services (REST or SOAP).

The default behaviour is that all methods found in the *ServiceImpl class will be exposed as a web service ones; so let's see how to prevent a single method to be exposed as a service.

Read more: Don't expose a Liferay REST service

Expose a REST method of Liferay without authentication

Starting from 6.2 version of Liferay the complete web service infrastructure (both SOAP and REST) is only available through user authentication.

This new solution seems to be safer but it could be a problem in case you need to expose services that do not require authentication; so let's see how to expose a REST service without authentication.

Read more: Expose a REST method of Liferay without authentication

Liferay Development Configurator 1.0.0 released

Who works with Liferay knows how much can be tedious and repetitive to prepare a new development environment: download all the needed ZIP files (SDK, Tomcat bundle, portal sources, ...), unzip them, create the workspace, ...

Liferay Development Configurator (LDC) helps to automate this process: just set the project name and the version of Liferay to be used and the program will download and unpack all the files needed.

Read more: Liferay Development Configurator 1.0.0 released