Skip to content

Commit 23b1ee5

Browse files
committed
change intro image to tabs
1 parent d32fa27 commit 23b1ee5

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

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

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,19 @@ The quickstart deploys either a Spring Boot app, embedded Tomcat, or Quarkus app
1414
> [!NOTE]
1515
> App Service can host Spring apps. For Spring apps that require all the Spring services, try [Azure Spring Apps](../../../spring-apps/quickstart.md) instead.
1616
17-
:::image type="content" source="../../media/quickstart-java/quarkus-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Maven Hello World web app running in Azure App Service in introduction.":::
17+
### [Spring Boot](#tab/springboot)
18+
19+
:::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 in introduction.":::
20+
21+
### [Embedded Tomcat](#tab/embeddedtomcat)
22+
23+
:::image type="content" source="../../media/quickstart-java/embeddedtomcat-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of embedded Tomcat Hello World web app running in Azure App Service in introduction.":::
24+
25+
### [Quarkus](#tab/quarkus)
26+
27+
:::image type="content" source="../../media/quickstart-java/quarkus-hello-world-in-browser-azure-app-service.png" alt-text="Screenshot of Quarkus Hello World web app running in Azure App Service in introduction.":::
28+
29+
-----
1830

1931
If Maven isn't your preferred development tool, check out our similar tutorials for Java developers:
2032
+ [Gradle](../../configure-language-java.md?pivots=platform-linux#gradle)
@@ -60,7 +72,6 @@ If Maven isn't your preferred development tool, check out our similar tutorials
6072

6173
The application is run using the standard [Tomcat](https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/startup/Tomcat.html) class (see [Main.java](https://github.com/Azure-Samples/java-docs-embedded-tomcat/blob/main/src/main/java/com/microsoft/azure/appservice/examples/embeddedtomcat/Main.java) in the sample).
6274

63-
6475
### [Quarkus](#tab/quarkus)
6576

6677
1. Generate a new Quarkus app named `quarkus-hello-azure` with the following Maven command:
@@ -179,7 +190,8 @@ With all the configuration ready in your [pom.xml](https://github.com/Azure-Samp
179190
- Create an [executable JAR](https://en.wikipedia.org/wiki/JAR_(file_format)#Executable_JAR_files) by specifying the Tomcat class as the start-up class.
180191
- Replace the original artifact with the uber JAR to ensure that the deploy step deploys the right file.
181192
182-
> [!TIP] Quarkus and Spring Boot both produce two JAR files with `mvn clean package`, but `azure-webapp-maven-plugin` picks the right JAR file to deploy automatically.
193+
> [!TIP]
194+
> Quarkus and Spring Boot both produce two JAR files with `mvn clean package`, but `azure-webapp-maven-plugin` picks the right JAR file to deploy automatically.
183195
184196
### [Quarkus](#tab/quarkus)
185197
@@ -216,24 +228,19 @@ With all the configuration ready in your [pom.xml](https://github.com/Azure-Samp
216228

217229
### [Spring Boot](#tab/springboot)
218230

219-
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the URL `http://<appName>.azurewebsites.net/greeting` with your local web browser (note the `/greeting` path), and you should see the following JSON:
231+
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the URL `http://<appName>.azurewebsites.net/greeting` with your local web browser (note the `/greeting` path), and you should see:
220232

221-
```output
222-
{
223-
"id": 1,
224-
"content": "Hello, World!"
225-
}
226-
```
233+
:::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.":::
227234

228235
### [Embedded Tomcat](#tab/embeddedtomcat)
229236

230-
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the url with your local web browser, and you should see
237+
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the url with your local web browser, and you should see:
231238

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

234241
### [Quarkus](#tab/quarkus)
235242

236-
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the url with your local web browser, and you should see
243+
Once deployment is completed, your application is ready at `http://<appName>.azurewebsites.net/`. Open the url with your local web browser, and you should see:
237244

238245
:::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.":::
239246

0 commit comments

Comments
 (0)