Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

azure-appservice-samples/java-get-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Java sample for Azure App Service - Coffee Shop

This is a Java coffee shop web app that you can deploy to Azure App Service. It uses the same WAR file as the Java Coffee Shop sample in the Azure Marketplace and demonstrates how Java apps are deployed to App Service.

Serving Java apps in App Service

This sample uses the Tomcat server provided by App Service. You can serve Java web apps in a variety of ways: with a web server provided by App Service, with a custom server, or with a server embedded in your WAR/JAR.

In this repo

The main thing in the repo is a webapps folder with ROOT.war. The Tomcat/Jetty server in App Service will look inside this folder for web apps to host. ROOT.war represents the default web app (at the site root). Any WAR file that's otherwise named represents a web app accessbile at ~/<WARfilename>.

Also included in the repo is the Web.config file, that uses the httppPlatformHandler to tell IIS to be a proxy between HTTP requests and the Tomcat 8 server. You don't actually need this file if you enable Java for your app through the portal UI.

License

See license.txt.

About

Java app sample for Azure App Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published