O'Reilly logo

Liferay Portal 5.2 Systems Development by Jonas Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding the Spring services

Liferay portal uses the Spring framework and keeps the Spring configuration. In this section, we're going to introduce how to provide a custom implementation of a Liferay service by using Spring and how to apply the extension's ready-to-use mechanisms to ease this task.

The Spring framework is a support structure in which another software project can be organized and developed. It minimizes dependency of the application components by providing a plugin architecture. The Spring framework is very powerful as it combines Dependency Injection (DI), Inversion of Control (IoC), and Aspect Oriented Programming (AOP). The DI approach provides an instance of the dependent object at runtime by an external process. Spring implements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required