Vaadin is a server environment, so there is nothing special here, you would do it like in any other Java application.
See for example this question How to use REST in Java or this Vaadin forum post .
Basically, you need to create a RESTful URI, open a stream and parse it. If XML output is possible with something like XStream .
source share