The Vaadin Collaboration Engine for real-time collaboration only has example for Vaadin Flow. Can you use it with Vaadin Fusion?
Is it possible to use the Vaadin Collaboration Engine with Fusion?
150 views Asked by Erik Lumme At
2
There are 2 answers
0
On
It is not possible at this time, but Fusion support is on the roadmap.
As Leif mentioned, it's possible to create a Flow component for the needed collaboration features, and then export that as a web component that can be embedded in a Fusion view. A demo of this can be found on GitHub.
There's currently no support for using Collaboration Engine directly from Fusion, but there are two ways of getting partial benefits already today. These are just theoretical ideas, I haven't tested either of them in practice.
The first approach is to use Flow to configure and control the components that should have collaborative features, and then use
WebComponentExporter
to make them available as web component that can be used from Fusion. This might be quite practical for the avatar group and the upcoming discussion features, but not so much for form binding.The second approach is to use the low-level data synchronization Java APIs from Collaboration Engine and expose those through Fusion endpoints (with a separate push channel). You could then use that data synchronization layer to implement your own component integrations.