Spring Integration or Apache HTTP Client
问题 I have a spring application which requires to call REST based external API calls for some data. The data format from the API is JSON. My question is which one of the following options is better and light weight to make the external api calls Spring integration (using ws:outbound-gateway) Apache Commons HttpClient Please share your thoughts... 回答1: As the others have mentioned both Spring RestTemplate and Jersey Rest Client will do the job. I have used both. Both them work great with Jackson