Let&#x27;s say if I want to make a web API (in java?) which integrates with a website (or mobile application), what are the components required for that.<p>In my knowledge following things will be required (please correct and add things):<p>- A web server which will be sending requests to my Java process. (like Nginx? or Jetty?)
- I will need a load balancer&#x2F;ELB (Nginx also can be used as an LB, right?)<p>Where would I be needing Jetty? And if I am using Jetty, do I still need to use Nginx? I have heard people using Jetty and Nginx together; what are the purpose both solving in those cases?<p>And if this web API needs to communicate other APIs (how can I make them interact with each other- I can probably use REST APIs, right?). If I am right, this is called discovering APIs. What are they different ways to achieve this?<p>As you can guess, I have limited knowledge in this area (designing them at an architecture level, them discovering each other and integrating them to be used via the Web or other clients). Please try to fill the gap as much as possible.<p>Thanks in advance!
Ask HN: What are the components needed to make a web API?