Vaadin OSGi 6.0.0 release for Vaadin 19
This is a release version for the Vaadin OSGi, built on Flow 6.0.0, targeted for Vaadin 19.
Features
The release provides initial OSGi support for Vaadin 19 / Flow 6.0.0.
With OSGi support implemented, Vaadin applications can be deployed on an OSGi compatible servlet container as a multiple bundles, that can be deployed individually. Vaadin OSGi supports integration with Apache Karaf environment as well.
Try our Base Flow OSGi starter and Base Flow Karaf starter.
Read more on how to use Vaadin in OSGi in our documentation.
Limitations
Here is a list of things which are not currently supported:
- npm development mode: it’s only possible to run Vaadin web application in production mode (with frontend resources bundled into the JAR)
- You can’t use OSGi declarative services with Vaadin components: you may not inject a service declaratively in Vaadin classes (using annotations) because UI objects are not managed by OSGi. But you may still call OSGi services programmatically.
- No yet automatic servlet registration. The web application bundle should register the servlet itself.
Pushdoes not work with WebSockets. It is not clear how to enable WebSockets for a pure OSGi container. It works on hybrid OSGi containers which allow to deploy WARs (likeKaraf) but this is the same as for plain web servers.Fusion/TypeScriptviews can’t be used in OSGi