We can easily Consume OSGI Service in Liferay Portlet. Before reading this article please read my previous article. This article is an extension of the previous article. In this article we will create a Sample Portlet and consume the OSGI Service which is explained in the previous article. Read my previous article Writing your first […]3 Comments.
In this article we will try to understand about OSI Service and its usage. In Liferay 7, OSGI plays a vital role. So its very important to understand the basics of OSGI Service. In this article we will create a basic OSGI service and in the next article we will create a portlet to consume […]1 Comment.
In one of my previous article I have explained how to access Gogo Shell. However its also possible to open Gogo Shell using Liferay IDE. In Liferay the Gogo Shell can be used to interact Liferay Portal's module framework. Step 1: Install Liferay IDE Step 2: Add Liferay Portal as Server Runtime in the IDE Step […]No Comments.
Using Maven we can easily create OSGI module in Liferay 7. Liferay has already published many Maven Archetypes for creating OSGI based application. In this article we will show how to create a basic MVC Portlet using Maven as build tool. The archetype is capable of generating necessary source code compliance with OSGI specification. The portlet will […]No Comments.
Yes we can invoke Liferay JSON Web Service from Web Content Display Portlet too. Web Content Display Portlet is used for displaying HTML content in the portlet. However we can easily consume JSON Web Service from it. In this article we will build one small POC to consume JSON Web Service. Highlight of this article 1. Identify […]No Comments.
Asset Publisher Portlet is one of the most important and widely used portlet in Liferay Portal. By Asset Publisher Portlet we can display different assets in the Portal. This portlet is highly configurable and can be customized using Application Display Template (ADT). This article provides some important code snippets for writing Application Display Template (ADT) for […]No Comments.
Prior to Liferay 7 we used either Plugin SDK or maven for portlet creation. Liferay 7 has introduced the concept of OSGI where we can avoid Plugin SDK.In OSGI everything is treated as module. In this article I will explain how to create a sample portlet using Liferay IDE. The sample portlet would be nothing but OSGI […]1 Comment.
The Apache Felix Web Console is a simple tool to inspect and manage OSGi framework instances using our favorite Web Browser. In our previous article we have written about Apache Felix Gogo shell in Liferay 7. However Gogo shell is command based shell to interact with the module framework. Its also possible to use web […]1 Comment.
A request for comments (RFC 147) by Peter Kriens, an attachment to the OSGi 4.2 specifications document early draft, describes a proposed interface for the processing and launching of commands for the OSGi framework. It defines the blueprint for a shell service and its language. The goal behind such an endeavor is to attempt to […]No Comments.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.