Vaadin IPC for Liferay with Vaddin 8 and Liferay 7.2

Hi,

the [Vaadin 8 documentation]
(https://vaadin.com/docs/v8/framework/portal/portal-overview.html) (chapter “Portlets”) covers “OSGi Portlets on Liferay 7” and a few sections later “Vaadin IPC for Liferay” ([Add-on page]
(https://vaadin.com/directory/component/vaadin-ipc-for-liferay/overview)).
This add-on has not been updated since 2012 and seems not to work with Vaadin 8. There are 3 versions available in the Maven repository:

I tried version 1.0.0 but it does not compile giving the error
GWT Module com.vaadin.terminal.gwt.DefaultWidgetSet not found in project sources or resources.

If I go for version 2.0.0 the LiferayIPC instance cannot be added to my layout (incompatible type since LiferayIPC is now derived from class AbstractJavaScriptExtension).

Should it still work or died the IPC support in Liferay? Are there better alternatives?

Any help is very much appreciated.

Florian

Yes, the version in Directory has not been update, but the project in GitHub has been updated, so it is worth of checking if it works any better https://github.com/vaadin/liferayipc

Thank you for your quick reply. I tried the most recent version available on Github (version 3.0-snapshot). This version seems still to be made for Liferay 6 and, thus, provides no OSGi descriptors as it is needed by Liferay 7.
I was not able to deploy liferayIPC in a way so it can be used by my portlet (even tried copying the liferayIPC jar to the ROOT/WEB-INF/lib folder of Tomcat). I always get the error

Unresolved requirement: Import-Package: com.vaadin.addon.ipcforliferay_ [Sanitized]

Can Vaadin (version 8 up to 14) still be considered as a good choice for portlet development in Liferay 7? I would have thought that IPC is an essential functionality.

Florian

I have made an unofficial version of LiferayIPC for Vaadin add-on.

This module works with Liferay 7 (OSGi environment). * and Vaadin 8.6.x.

https://gitlab.com/tigercat/liferayipc

I respect the way of implementation by original developers and future plan of original product, so my version is just a reference implementation.

Try this if you can’t wait for the official update from the original developer.

Thanks.