I used Vaadin a couple of years back converting a flash based app. Getting plug-ins to work was not fun, at all. Using JavaScript yourself/directly is much easier. Now I write Java and Typescript and have even more fun writing the right code for the problem while increasing my value/compensation.