page_type | languages | products | urlFragment | name | description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sample |
|
|
msdocs-tomcat-mysql-sample-app |
Deploy a JBoss web app with MySQL in Azure |
This is a JBoss web app using Servlet 6.0 and the Azure Database for MySQL flexible server. |
This is a Java EE 10 web app that uses the Azure Database for MySQL flexible server. This app is designed to be be run locally with the WildFly Maven plugin and then deployed to a JBoss 8 EAP container in Azure App Service. You can either deploy this project by following the tutorial Deploy a JBoss web app with MySQL in Azure.
This project has a dev container configuration, which makes it easier to develop apps locally, deploy them to Azure, and monitor them. The easiest way to run this sample application is inside a GitHub codespace. Follow these steps:
-
Fork this repository to your account. For instructions, see Fork a repo.
-
From the repository root of your fork, select Code > Codespaces > +.
-
In the codespace terminal, run the following command:
mvn clean wildfly:run
-
When you see the message
Your application running on port 8080 is available.
, click Open in Browser.
If you're working with this project and running into issues, please post in Issues.