Vaadin and exising servlets

I am new to Vaadin and so far I must say I like what I see. I have been searching how to solve a problem for a long time and probably it can be solved easily.

I have a lot of existing servlets that provide data. So far I used to use the servlet in combination with jsp to get to the data they are providing. I would like to connect to these servlets directly, request for the data and then show it inside a vaadin application. Has somebody got an example on how this should be implemented?

Lots of thanx in advance

When you code Vaadin, just think of it as doing regular servlet (or portlet) programming. Technically Vaadin is just a servlet connecting to your browser client.

So access you data from your other servlet as you would normally when interoperating between two servlet. Can’t say straight ahead how that’s normally done, but you can e.g. get the ServletContext from


ServletContext servletContext = ((WebApplicationContext) application.getContext()).getHttpSession().getServletContext();