Category: Liferay Development

How to connect Apache Gogo shell in Liferay 7 (DXP)

Gogo Shell provides an interface to interact with OSGI modules in Liferay 7 Liferay 7 uses OSGI framework to build modular application which comprises of various modules. OSGI supports a standard way to interact with underlying modules. Any external system or portal administrators can use this mechanism to deal with Liferay 7 modules at runtime.…

How to create Liferay Workspace

Liferay workspace is used to group various Liferay 7 specific modules and applications at one single place. It is first setup a Liferay developer should know before starting development in Liferay 7 In previous post we have seen how to setup liferay 7 development environment. Starting from version 7, Liferay brings the concept of workspace. You…

Setup Liferay 7 development environment

Liferay 7 development environment setup is the next you should know after installing and configuring Liferay 7 in your local We have seen how to install and setup the liferay 7 (DXP) server in previous blog. You can start exploring Liferay 7 Administration section after successful installation. However, just plain Liferay 7 server is not…

Liferay 7 installation – A step by step guide

Liferay 7 installation is all you need to know before you start working with it. Before start working with Liferay, you need to understand how to do Liferay 7 installation. Though starting from version 7, Liferay introduced OSGI framework, the installation and setup is more or less similar to its previous release. In this article,…

Liferay 7 – Difference of Module vs Plugin

The thought of  – Module vs Plugin was introduced from Liferay 7 which is built on top of modular framework called OSGI. So it is crucial to understand this concept. Starting with version 7, Liferay leverages OSGI platform for doing modular application development. In all previous releases of Liferay (till 6.2), the single unit of…

What is new in Liferay 7 (DXP) – Introduction

Among all previous releases, Liferay 7 is the most powerful in terms of feature richness, modularity, rapid and ease of development and lot more. Over the period of times, Liferay became more powerful by every new release. Currently Liferay 7 is latest version with lots of new features. At the time of writing this article,…

Easy way to create Liferay maven service builder

Service builder is one of the most useful tool provided by Liferay to generate service and persistence layer. It generate all boilerplate code automatically Starting from version 6.2 liferay supports creating plugin with Maven. Creating service builder with maven is not identical with how it was created with ANT. However it’s not that difficult though.…

create resource URL programmatically in Portlet class and JSP

Liferay provides PortletURLFactoryUtil class to create resource URL programmatically (Java API). You can call serveResource method by such resource URL of same portlet or different portlet kept on different page Liferay provides facility to create resource URL programatically through Java API. This is useful when you want to make a call to serveResource method of…

Create maven Spring MVC Portlet in Liferay

Liferay provides various framework to create plugins. Spring MVC is one of the most popular framework to create portlets on Liferay. In this article, I will be showing how to create Maven Spring MVC Portlet in liferay. Newer version of Liferay (6.2 & DXP) supports creating plugins with Maven. Pre-requisite Before starting further, I would recommend…

liferay maven plugin – Liferay MVC Portlet with Maven

Liferay supports maven to create various liferay maven plugin like portlets, hook, theme, layout and web plugins. Till version 6.1, ANT was the only way to build the portlet in Liferay out of the box. Starting with Liferay 6.2, Liferay starts providing support for Maven to build various liferay maven plugin. This is also reflected…