1

I looked at many examples of Vaadin and all of them use Vaadin servlet. Is it possible to use Vaadin framework outside a servlet container? If yes, how to achieve that? A sample code would be most welcome.

4
  • Vaadin just needs a Servlet container, it is not required to the a J2EE. Tomcat 6/7/8 work fine for example Mar 31, 2016 at 14:57
  • "A sample code would be most welcome." I bet it would. Mar 31, 2016 at 15:27
  • I meant any Servlet container eg would it be possible to run Vaadin with Netty as the server? Mar 31, 2016 at 17:27
  • Our corp successfully run Vaadin on jetty. No J2EE in use.
    – kukis
    Mar 31, 2016 at 18:35

2 Answers 2

3

Vaadin needs a Servlet Environment. Notice however that the Servlet Specification is just a tiny (but essential) part of Java EE. A Servlet Container is typically very light-weight. So use Undertow, Jetty, Tomcat or any other Servlet Container. Note that these products are all embeddable, ideal for micro services.

1

Web Components

In recent years, the Vaadin company has been producing versions of their widgets that can run outside of their server-side Java framework. They are taking advantage of advancements being made in Web Components and the Google Polymer project.

The company has launched their Vaadin Elements program.

Vaadin Elements is a set of custom HTML elements tailored for business applications. It extends the Google Polymer library with elements like data grid, charts and combo box so you can build the app your business needs. The elements are actively maintained and tested to ensure compatibility with the latest Polymer releases.

For example, their excellent rows-and-columns Vaadin Grid component is available in three editions:

Be forewarned: the Vaadin team is pushing the envelope in these new web technologies. But they are very excited by their successes and eagerly invite people to try out the new editions of their products.

See the Vaadin company blog for announcements of their success with various components in this effort.

For a very technical discussion, see the video and slides from a meeting at the Seattle Java Users Group (SeaJUG) in 2016-03 in a presentation by Vaadin staffer, Marcus Hellberg.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.