Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 681 Bytes

File metadata and controls

11 lines (7 loc) · 681 Bytes

Note! The service used by this example has changed and nowadays requires API keys and also the response format has changed. The example is not yet updated to the latest version, patches welcome :-) If somebody can suggest an alternative service, that would be nice (not to require develoers to do any configuration to play with the example).

Consuming REST services from a Java app

A simple JAX-RS Client usage example. Fetches weather data from a openweathermap.org and displays that on a simple Vaadin UI.

Use a JAX-RS 2.0 compatible server (~ Java EE 7 ) to deploy the app. Wildfly plugin is in the pom.xml, so an easy method is just to execute:

mvn wildfly:run