Using REST Web Services in Vaadin

How to create a Vaadin application that uses Restful web Services ?

My architecture:

.parent project .core-subProject (devlopped with spring ) .ws-subProject (restful web service with jaxb annotation) .client-project (using vaadin) 

Thanks for reference.

+4
source share
1 answer

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 .

+2
source

All Articles