How To Add API gateway for your Java APIs Running on App Services

A step by step guide with an example project

Bhargav Bachina
Bachina Labs

--

When you deploy your web apps or APIs on App services you can either expose them directly from the App services endpoint or you can serve through Azure APIM. Using APIM has several advantages such as routing to different apps based on the context path, implementing microservices, adding OAuth, caching layer, sharing your APIs through Developer portal, etc.

In this post, we will see how to configure APIM for the Java APIs running on the App services.

  • Prerequisites
  • Example Project
  • Running on App Services With Docker Runtime
  • Creating APIM Gateway
  • Importing App Services
  • Running API with APIM
  • Summary
  • Conclusion

Prerequisites

  • If you are new to Java REST API please go through the below link on how to develop and build the Java REST API with Spring Boot.

How To Develop and Build Java Rest API

The other prerequisites to this post are Docker essentials. We are not going to discuss the basics such as what is a container or Docker…

--

--