Azure management libraries for Java - Web app samples

The following table links to Java source you can use to create and configure web apps.

Sample Description
Create an app
Create a web app and deploy from FTP or GitHub Deploy web apps from local Git, FTP, and continuous integration from GitHub.
Create a web app and manage deployment slots Create a web app and deploy to staging slots, and then swap deployments between slots.
Configure an app
Create a web app and configure a custom domain Create a web app with a custom domain and self-signed SSL certificate.
Scale an app
Scale a web app with high availability across multiple regions Scale a web app in three different geographical regions and make them available through a single endpoint using Azure Traffic Manager.
Connect an app to resources
Connect a web app to a storage account Create an Azure storage account and add the storage account connection string to the app settings.
Connect a web app to a SQL database Create a web app and SQL database, and then add the SQL database connection string to the app settings.