title: calling rest api from another web application
body: <p>I have a web application (typical mvc webapp) that needs to call a REST API bundled in a different webapp (war file). </p>
  
  <p>The first web app serves as a front to the separate REST API webapp for customers to register and view their stats, purchase plans etc. But part of the design of this webapp is that it must have example invocations to the other REST API webapp.</p>
  
  <p>There are many rest clients out there, but what would be a reasonable approach to address the above? </p>
  
  <p>I was thinking of using the Spring REST Template to call the REST API but from my mvc controller class in the first webapp. Is this a reasonable approach?</p>