Ususally with Vaadin you’d use the provided ApplicationServlet, using init-params to tell it which Application class to load. This is all described in many places, for instance
the book .
It’s possible to set up a Vaadin application in the manner you mention above (“Java 6 EE style”, I guess) - for pointers you can see this
blog post , or this
Hello Glassfish 3 article . Or google “Vaadin java ee 6”.