Azure Tips and Tricks - How to deploy a Java EE application to Azure
How to deploy a Java EE application to Azure
Run Red Hat JBoss EAP on Azure
You can use JBoss EAP (Enterprise Application Platform) to run Java applications, like Java EE (Enterprise Edition) in a variety of environments, including on-premises and the cloud. JBoss provides enterprise-grade tools to manage, build and run your applications.
In Azure, you can host JBoss EAP on Azure App Service, Azure Red Hat Openshift and on Azure Virtual Machine Scale Sets. In this post, we'll host JBoss EPA on an Azure App Service Web App and use it to run a Java EE application.
Prerequisites
If you want to follow along, you'll need the following:
- An Azure subscription (If you don't have an Azure subscription, create a free account before you begin)
Host JBoss EAP on Azure App Service
We will start by creating an Azure App Service Web App that hosts the JBoss Enterprise Application Platform.
- Go to the Azure portal
- Click the Create a resource button (the plus-sign in the top left corner)
- Search for Web App, select the "Web App" result and click Create
- Select a Resource Group
- Enter a Name
- For "Runtime stack", pick "Java 8"
- Next, select "Red Hat JBoss EAP 7" for "Java web server stack"
- Pick a Region
- Click Review + create and then Create to create the Web App
(create an Azure App Service Web App in the Azure portal)
- Next, open the Azure Cloud Shell. You can do this by clicking on the Cloud Shell icon in the top-right menu, or by going to http://shell.azure.com/
- We will use a sample Java EE application to run in JBoss on App Service. Clone the sample application with this command:
- Next, we will install the App Service Maven plugin. This will help with building and deploying the app to App Service:
- The Maven plugin will ask to select the App Service that we want to use. Select the App Service that we just created (for instance, by pressing 2)
(The Azure App Service Maven plugin in action)
- Confirm the Web App properties by typing "Y"
- Next, deploy the Java EE application to the App Service with this command:
- When the deployment is done, you can use the application by navigating to the App Service Web App URL in a browser
jboss
(The Java EE application running on JBoss EAP in an Azure App Service Web App)
Conclusion
You can run any type of application in Azure, including Java EE applications on JBoss EAP, for instance on an Azure App Service Web App.To learn more, create a trial account today and go and check it out!
Published on:
Learn moreRelated posts
Boost your Azure Cosmos DB Efficiency with Azure Advisor Insights
Azure Cosmos DB is Microsoft’s globally distributed, multi-model database service, trusted for mission-critical workloads that demand high ava...
Microsoft Azure Fundamentals #5: Complex Error Handling Patterns for High-Volume Microsoft Dataverse Integrations in Azure
🚀 1. Problem Context When integrating Microsoft Dataverse with Azure services (e.g., Azure Service Bus, Azure Functions, Logic Apps, Azure SQ...
Using the Secret Management PowerShell Module with Azure Key Vault and Azure Automation
Automation account credential resources are the easiest way to manage credentials for Azure Automation runbooks. The Secret Management module ...
Microsoft Azure Fundamentals #4: Azure Service Bus Topics and Subscriptions for multi-system CRM workflows in Microsoft Dataverse / Dynamics 365
🚀 1. Scenario Overview In modern enterprise environments, a single business event in Microsoft Dataverse (CRM) can trigger workflows across m...
Easily connect AI workloads to Azure Blob Storage with adlfs
Microsoft works with the fsspec open-source community to enhance adlfs. This update delivers faster file operations and improved reliability f...
Microsoft Azure Fundamentals #3: Maximizing Event-Driven Architecture in Microsoft Power Platform
🧩 1. Overview Event-driven architecture (EDA) transforms how systems communicate.Instead of traditional request–response or batch integration...
Azure Developer CLI (azd) – October 2025
This post announces the October release of the Azure Developer CLI (`azd`). The post Azure Developer CLI (azd) – October 2025 appeared f...
Microsoft Azure Fundamentals #2: Designing Real-Time Bi-Directional Sync Between Dataverse and Azure SQL for Multi-Region Deployments
Here’s a detailed technical breakdown of designing a real-time bi-directional sync between Dataverse and Azure SQL for multi-region deployment...
Azure DevOps local MCP Server is generally available
Today we are excited to take our local MCP Server for Azure DevOps out of preview 🥳. Since the initial preview announcement, we’ve work...
Announcing the new Azure DevOps Server RC Release
We’re excited to announce the release candidate (RC) of Azure DevOps Server, bringing new features previously available in our hosted version....