IBM Portlet Container Tools for WebSphere Application Server Liberty Profile is a set of tools to enables users to quickly develop portlets for WebSphere Application Server Liberty Profile. IBM Portlet Container Tools is hosted at IBM Collaboration Solutions Catalog and offers capabilities to create and deploy the portlet projects from within the workspace to the Liberty profile to reduce development and test effort.

The sample along with the article will explain how you can create and publish a JSR 286 portlet project on WebSphere Application Server Liberty Profile server using IBM Portlet Container Tools for WebSphere Application Server Liberty Profile and then how the same portlet application can be consumed as a remote service by WebSphere Portal Server.

The usecase will involve a portlet project containing two portlets, the publisher portlet would publish the event and the subscribed portlet would process that event. The portlets would communicate with each other via JSR286 based events mechanism. Both the portlets would be deployed to the WAS Liberty profile and finally you would configure the WSRP (i.e. web services for remote portlets) producer on a WebSphere Portal server and consume these portlets through WSRP by placing them on a
portal page.

You can follow the detailed steps in article to create your own application and import the sample provided along with the package to your workspace for your reference.