Azure Classroom Series – 01/Mar/2021

Azure App Service

Deploying java applications to Azure App Service

  • Refer Here for the official documentation
  • Lets use linux and tomcat environment to create an application
  • Install java and maven
sudo apt update
sudo apt install openjdk-8-jdk -y
sudo apt install maven -y
java -version
mvn -version
  • Generate the skeleton code
mvn archetype:generate "-DgroupId=azure.qt.demo" "-DartifactId=helloworld" "-DarchetypeArtifactId=maven-archetype-webapp" "-Dversion=1.0-SNAPSHOT"
  • Now deploy the application, Ensure azure cli is installed and logged in
mvn package azure-webapp:deploy


Deploying applications to Azure App Service

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin