Consuming REST web services in Vaadin

rest, spring, vaadin

Solution

Vaadin is a server-side framework, so there is nothing special here, you would do it as in any other Java application.

See for example this question How to consume REST in Java or this Vaadin forum post.

Basically, you need to create a RESTful URI, open a stream to it and parse it. If the output is XML possibly with something like XStream.

Problem

How can I create a Vaadin application who consumes a Restful web Services ? My architecture is: ``` .parent project .core-subProject (devlopped with spring ) .ws-subProject (restful web service with jaxb annotation) .client-project (using vaadin) ``` thx for help.

Original source

Related problems