Things we use every day are made of carefully designed, created, and tested subsystems. For example, a car has an engine, suspension, and air conditioner. Teams of engineers, machinists, and technicians make these subsystems the best they can be separately before combining them to create a high quality car. This is modularity in action: creating things from smaller well-designed, well-tested parts.

Liferay Portal is modular too. It comprises code modules created and tested independently and in parallel. It’s a platform on which modules and modular applications are installed, started, used, stopped, and uninstalled. Liferay’s components use the OSGi modularity standard.

These tutorials demonstrate developing OSGi services and components to customize Liferay Portal and create applications on it. As Liferay’s developers used modules to create applications, you and your team can enjoy developing your own modules, applications, and customizations in parallel.

The Benefits of Modularity

Dictionary.com defines modularity as the use of individually distinct functional units, as in assembling an electronic or mechanical system. The distinct functional units are called modules. NASA’s...

Read More

OSGi and Modularity

Modularity makes writing software, especially as a team, fun! Here are some benefits to modular development on DXP: Liferay Portal’s runtime framework is lightweight, fast, and secure. The...

Read More

Leveraging Dependencies

Using an OSGi manifest, a module declares the Java packages it consumes and shares. The manifest’s Import-Package and Export-Package settings expose this information. As you determine whether to...

Read More

OSGi Services and Dependency Injection with Declarative Services

In Liferay Portal, the OSGi framework registers objects as services. Each service offers functionality and can leverage functionality other services provide. The OSGi Services model supports a...

Read More

Dynamic Deployment

In OSGi, all components, Java classes, resources, and descriptors are deployed via modules. The MANIFEST.MF file describes the module’s physical characteristics, such as the packages it exports and...

Read More

Learning More about OSGi

There is much more to learn about developing apps using OSGi. Several resources are listed below and many more abound. To make the best of your time, however, avoid OSGi service articles that...

Read More
0 (0 Votes)
Adding New Behavior to an Editor Previous