Can I use Vaadin to create a widget for embedding into a WordPress page?

Hi!

I’m thinking about using Vaadin for creating a component that I would embed into a WordPress page (like I embed
YouTube
videos or
SlideShare
presentations).

Is it possible?

Thanks in advance

Dmitri Pisarenko

In theory that should be possible. I do not know any example by hard. But basically what you need to do is to create iframe in your page, where you embbed the Vaadin application running in application server. There is some information about this in this chapter of documentation. You need to be able to configure your systems.

https://vaadin.com/docs/v8/framework/advanced/advanced-embedding.html

I know this is an old thread, but since it still pops up in search results, I wanted to provide an update for anyone looking into this topic.

I wrote a blog post and created a small cross-site embedding example that should help you get started. In this example I’m using fly.io for Vaadin 24 app hosting and pages.github.com as the website.

I haven’t yet tested with WordPress specifically (don’t have a setup available), but if someone does try it out, please let us know how it goes.