Skip to content

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

Notifications You must be signed in to change notification settings

mstahv/consuming-rest-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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. See the related article, consuming REST servevices from Java apps.

To run the example, get a free API key from openweathermap.com and put it to file src/main/resources/META-INF/apache-deltaspike.properties

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages