Java samples for Azure websites
Spring Boot projects are compiled as a single jar file and include their own container. In order to run one of this projects in Azure Websites, deploy the jar file and a web.config file similar to this Spring Boot example Azure web.config. The main aspect to watch out for is to start the server on the port provided by Azure in the HTTP_PLATFORM_PORT environment variable.
Spring Boot samples has many samples that you can try out on Azure.
References: