Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Tomcat servlet example

This sample includes a Tomcat application run by an embedded Tomcat server. It's configured to be deployable as an executable uber JAR file to Azure App Service.

Running locally

  1. Build with mvn clean package.
  2. Run locally with java -jar .\target\embeddedTomcatExample.jar.

Deploy to App Service

To deploy to App Service, edit the section "Configure your deployment to Azure App Service" on the file pom.xml and run mvn package azure-webapp:deploy.

  1. Add the plugin azure-webapp-maven-plugin by running the following command:

    mvn com.microsoft.azure:azure-webapp-maven-plugin:2.13.0:config
  2. Deploy the app by running the following command:

    mvn package azure-webapp:deploy

About

A hello world sample for the App Service quickstart, which contains a simple Tomcat web app that's programmatically loaded by an embedded Tomcat server.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages