Skip to content

Commit fcd412c

Browse files
committed
some cx
1 parent b0ab84f commit fcd412c

File tree

4 files changed

+53
-44
lines changed

4 files changed

+53
-44
lines changed

articles/app-service/includes/quickstart-java/quickstart-java-javase.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 06/10/2025
77
ms.author: cephalin
88
---
99

10-
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your app: **Java SE**, **Tomcat**, or **JBoss**, and then follow the corresponding instructions.
10+
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your Java app: **Java SE**, **Tomcat**, or **JBoss EAP**, and then follow the corresponding instructions.
1111

1212
In this quickstart, you use the [Maven Plugin for Azure App Service Web Apps](https://github.com/microsoft/azure-maven-plugins/blob/develop/azure-webapp-maven-plugin/README.md) to deploy a Java web application with an embedded Spring Boot, Quarkus, or Tomcat server to App Service. For more information, see [azure-webapp-maven-plugin](https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Web-App).
1313

@@ -20,7 +20,10 @@ If Maven isn't your preferred development tool, check out our other similar tuto
2020
## Prerequisites
2121

2222
- [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
23-
- Run the Bash and Azure CLI commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services. Select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it.
23+
24+
- Run the Azure CLI and Maven commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services.
25+
26+
To use Cloud Shell, select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it. Make sure you're using the **Bash** environment of Cloud Shell.
2427

2528
## Get the sample app
2629

@@ -65,9 +68,9 @@ Then change your working directory to the project folder by running `cd my-webap
6568

6669
## Configure the Maven plugin
6770

68-
The deployment process to Azure App Service uses your Azure credentials from the Azure CLI automatically. If the Azure CLI isn't installed locally, then the Maven plugin authenticates with OAuth or device sign-in. For more information, see [authentication with Maven plugins](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
71+
The deployment process to Azure App Service uses your Azure credentials from Azure Cloud Shell automatically. If the Azure CLI isn't installed locally, then the Maven plugin authenticates with OAuth or device sign-in. For more information, see [authentication with Maven plugins](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
6972

70-
Run the Maven command shown next to configure the deployment. This command helps you to set up the App Service operating system, Java version, and Tomcat version.
73+
Run the Maven command shown next to configure the deployment. This command helps you to set the App Service operating system and Java version.
7174

7275
```azurecli-interactive
7376
mvn com.microsoft.azure:azure-webapp-maven-plugin:2.14.1:config
@@ -134,7 +137,7 @@ You can modify the configurations for App Service directly in your *pom.xml* fil
134137

135138
With all the configuration ready in your [pom.xml](https://github.com/Azure-Samples/java-docs-embedded-tomcat/blob/main/pom.xml) file, you can deploy your Java app to Azure.
136139

137-
1. Build the JAR file using the following commands for Spring Boot, Quarkus, or Embedded Tomcat.
140+
1. Build the JAR file using the following command.
138141

139142
### [Spring Boot](#tab/springboot)
140143

@@ -169,47 +172,47 @@ With all the configuration ready in your [pom.xml](https://github.com/Azure-Samp
169172
- Creates an [executable JAR](https://en.wikipedia.org/wiki/JAR_(file_format)#Executable_JAR_files) by specifying the Tomcat class as the startup class.
170173
- Replaces the original artifact with the `Uber-Jar` to ensure that the deploy step deploys the right file.
171174

172-
-----
175+
-----
173176

174-
1. Deploy to Azure by using the following command:
177+
1. Deploy the app to Azure by using the following command:
175178

176179
```bash
177180
mvn azure-webapp:deploy
178181
```
179182

180-
Once you select from a list of available subscriptions, Maven deploys to Azure App Service. When deployment completes, your application is ready, and you see the following output:
183+
Once you select from a list of available subscriptions, Maven deploys to Azure App Service. When deployment completes, your application is ready, and you see the following output:
181184

182-
```output
183-
[INFO] Successfully deployed the artifact to <URL>
184-
[INFO] ------------------------------------------------------------------------
185-
[INFO] BUILD SUCCESS
186-
[INFO] ------------------------------------------------------------------------
187-
[INFO] Total time: 02:20 min
188-
[INFO] Finished at: 2023-07-26T12:47:50Z
189-
[INFO] ------------------------------------------------------------------------
190-
```
185+
```output
186+
[INFO] Successfully deployed the artifact to <URL>
187+
[INFO] ------------------------------------------------------------------------
188+
[INFO] BUILD SUCCESS
189+
[INFO] ------------------------------------------------------------------------
190+
[INFO] Total time: 02:20 min
191+
[INFO] Finished at: 2023-07-26T12:47:50Z
192+
[INFO] ------------------------------------------------------------------------
193+
```
191194

192-
1. Open the Spring Boot< Quarkus, or Embedded Tomcat app as follows:
195+
1. Open the app as follows:
193196

194-
### [Spring Boot](#tab/springboot)
197+
### [Spring Boot](#tab/springboot)
195198

196-
Open your app's default domain from the **Overview** page in the Azure portal, and append `/greeting` to the URL. You should see the following app:
199+
Open your app's default domain from the **Overview** page in the Azure portal, and append `/greeting` to the URL. You should see the following app:
197200

198-
:::image type="content" source="../../media/quickstart-java/springboot-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Spring Boot Hello World web app running in Azure App Service.":::
201+
:::image type="content" source="../../media/quickstart-java/springboot-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Spring Boot Hello World web app running in Azure App Service.":::
199202

200-
### [Quarkus](#tab/quarkus)
203+
### [Quarkus](#tab/quarkus)
201204

202-
Open your app's default domain from the **Overview** in the Azure portal, and append `/hello` to the URL. You should see the following app:
205+
Open your app's default domain from the **Overview** in the Azure portal, and append `/hello` to the URL. You should see the following app:
203206

204-
:::image type="content" source="../../media/quickstart-java/quarkus-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Quarkus web app running in Azure App Service.":::
207+
:::image type="content" source="../../media/quickstart-java/quarkus-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Quarkus web app running in Azure App Service.":::
205208

206-
### [Embedded Tomcat](#tab/embeddedtomcat)
209+
### [Embedded Tomcat](#tab/embeddedtomcat)
207210

208-
Open the URL for your app's default domain from the **Overview** in the Azure portal. You should see the following app:
211+
Open the URL for your app's default domain from the **Overview** in the Azure portal. You should see the following app:
209212

210-
:::image type="content" source="../../media/quickstart-java/embedded-tomcat-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of embedded Tomcat web app running in Azure App Service.":::
213+
:::image type="content" source="../../media/quickstart-java/embedded-tomcat-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of embedded Tomcat web app running in Azure App Service.":::
211214

212-
-----
215+
-----
213216

214217
Congratulations! You deployed a Java app to App Service.
215218

articles/app-service/includes/quickstart-java/quickstart-java-jboss.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 06/10/2025
77
ms.author: cephalin
88
---
99

10-
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your app: **Java SE**, **Tomcat**, or **JBoss**, and then follow the corresponding instructions.
10+
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your Java app: **Java SE**, **Tomcat**, or **JBoss EAP**, and then follow the corresponding instructions.
1111

1212
In this quickstart, you use the [Maven Plugin for Azure App Service Web Apps](https://github.com/microsoft/azure-maven-plugins/blob/develop/azure-webapp-maven-plugin/README.md) to deploy a Java web application to a Linux JBoss EAP server in App Service.
1313

@@ -20,7 +20,10 @@ If Maven isn't your preferred development tool, check out our similar tutorials
2020
## Prerequisites
2121

2222
- [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
23-
- Run the Bash and Azure CLI commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services. Select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it.
23+
24+
- Run the Azure CLI and Maven commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services.
25+
26+
To use Cloud Shell, select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it. Make sure you're using the **Bash** environment of Cloud Shell.
2427

2528
## Create a Java app
2629

@@ -46,9 +49,9 @@ If Maven isn't your preferred development tool, check out our similar tutorials
4649

4750
## Configure the Maven plugin
4851

49-
The App Service deployment process uses your Azure credentials from Azure CLI automatically. The Maven plugin authenticates with OAuth or device sign-in. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
52+
The App Service deployment process uses your Azure credentials from Azure Cloud Shell automatically. The Maven plugin authenticates with OAuth or device sign-in. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
5053

51-
Run the following Maven command to configure the deployment by setting up the App Service operating system, Java version, and Tomcat version.
54+
Run the following Maven command to configure the deployment by setting the App Service operating system, Java version, and Jbosseap version.
5255

5356
```azurecli-interactive
5457
mvn com.microsoft.azure:azure-webapp-maven-plugin:2.14.1:config

articles/app-service/includes/quickstart-java/quickstart-java-tomcat.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 06/10/2025
77
ms.author: cephalin
88
---
99

10-
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your app: **Java SE**, **Tomcat**, or **JBoss**, and then follow the corresponding instructions.
10+
[Azure App Service](/azure/app-service/) provides a highly scalable, self-patching web app hosting service. At the top of the page, choose how you want to deploy your Java app: **Java SE**, **Tomcat**, or **JBoss EAP**, and then follow the corresponding instructions.
1111

1212
In this quickstart, you use the [Maven Plugin for Azure App Service Web Apps](https://github.com/microsoft/azure-maven-plugins/blob/develop/azure-webapp-maven-plugin/README.md) to deploy a Java web application to a Linux Tomcat server in App Service.
1313

@@ -20,7 +20,10 @@ If Maven isn't your preferred development tool, check out our similar tutorials
2020
## Prerequisites
2121

2222
- [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
23-
- Run the Bash and Azure CLI commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services. Select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it.
23+
24+
- Run the Azure CLI and Maven commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services.
25+
26+
To use Cloud Shell, select **Open Cloud Shell** at upper right in a code block and sign in to Azure if necessary. Then select **Copy** in the code block, paste the code into Cloud Shell, and run it. Make sure you're using the **Bash** environment of Cloud Shell.
2427

2528
## Create a Java app
2629

@@ -34,9 +37,9 @@ Then change your working directory to the project folder by running `cd hellowor
3437

3538
## Configure the Maven plugin
3639

37-
The App Service deployment process uses your Azure credentials from Azure CLI automatically. The Maven plugin authenticates with OAuth or device sign-in. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
40+
The App Service deployment process uses your Azure credentials from Azure Cloud Shell automatically. The Maven plugin authenticates with OAuth or device sign-in. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication).
3841

39-
Run the following Maven command to configure the deployment by setting up the App Service operating system, Java version, and Tomcat version.
42+
Run the following Maven command to configure the deployment by setting the App Service operating system, Java version, and Tomcat version.
4043

4144
```azurecli-interactive
4245
mvn com.microsoft.azure:azure-webapp-maven-plugin:2.14.1:config

articles/app-service/quickstart-java.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Quickstart: Create a Java app on Azure App Service'
3-
description: Deploy your first Java Hello World to Azure App Service in minutes. The Azure Web App Plugin for Maven makes it convenient to deploy Java apps.
3+
description: Deploy a Java app to Azure App Service in minutes by using the Azure Web App Plugin for Maven.
44
keywords: azure, app service, web app, windows, linux, java, maven, quickstart
55
ms.assetid: 582bb3c2-164b-42f5-b081-95bfcb7a502a
66
ms.devlang: java
@@ -41,10 +41,10 @@ ms.author: cephalin
4141

4242
- [Tutorial: Build a Tomcat web app with Azure App Service on Linux and MySQL](tutorial-java-tomcat-mysql-app.md)
4343
- [Tutorial: Build a Java Spring Boot web app with Azure App Service on Linux and Azure Cosmos DB](tutorial-java-spring-cosmosdb.md)
44-
- [Set up CI/CD](deploy-continuous-deployment.md)
45-
- [Pricing information](https://azure.microsoft.com/pricing/details/app-service/linux/)
46-
- [Aggregate logs and metrics](troubleshoot-diagnostic-logs.md)
47-
- [Scale up](manage-scale-up.md)
48-
- [Azure for Java Developers Resources](/java/azure/)
49-
- [Configure your Java app](configure-language-java-deploy-run.md)
50-
- [Secure with custom domain and certificate](tutorial-secure-domain-certificate.md)
44+
- [Configure continuous deployment to Azure App Service](deploy-continuous-deployment.md)
45+
- [Azure App Service on Linux pricing](https://azure.microsoft.com/pricing/details/app-service/linux/)
46+
- [Enable diagnostic logging for apps in Azure App Service](troubleshoot-diagnostic-logs.md)
47+
- [Scale up an app in Azure App Service](manage-scale-up.md)
48+
- [Azure for Java developer documentation](/java/azure/)
49+
- [Deploy and configure a Java SE, Tomcat, or JBoss EAP app in Azure App Service](configure-language-java-deploy-run.md)
50+
- [Tutorial: Use a custom domain and a managed certificate to secure your app](tutorial-secure-domain-certificate.md)

0 commit comments

Comments
 (0)