I'm developping an Eclipse RCP Application that have to display in a Treeview the collections of a DataBase.
The collections of the DataBase are provided by a REST API.
So, what i have to do is to call the REST API by given the URL and the KEY and display result (The collections) in the Treeview.
What i know about REST API is that it's used (most of the time) in web applications, but it's not the case for me.
Does anybody know how to call a REST API from an Eclipse RCP Application ? Does someone have an experience with RCP and REST API ?
Thanks in advance.
Ismail
To call the RestAPi, i've used the SpringFramework using this :
org.springframework.web.client.RestTemplate and its methods.