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
Building on Vercel’s eve + Azure Cosmos DB: An Agent That Remembers
Most “AI agent” demos forget everything the moment the process exits. That’s fine for a toy project, but useless for anythin...
Copilot Studio – Environment-level agent telemetry export to Azure Application Insights (Preview)
We are announcing the ability for administrators to export Copilot Studio agent telemetry at the environment level to Azure Application Insigh...
See our new Azure Cosmos DB Design Patterns
Design patterns are where good data modeling lives or dies. In a NoSQL database like Azure Cosmos DB, the difference between a schema that sca...
Need a different partition key in Azure Cosmos DB? Pick the right approach
Once you create a container, its partition key is fixed at creation, and you can’t change it in place. However, if your original key starts ca...
Azure SDK Release (June 2026)
Azure SDK releases every month. In this post, you'll find this month's highlights and release notes. The post Azure SDK Release (June 2026) ap...
Fundamentals of Azure DevOps with SQL projects
Building automated pipelines with your SQL database projects enables you to build a rich CI/CD ecosystem to ensure that your application is be...
Upcoming Change: NTLM Removal in Git (libcurl) – Impact to Azure DevOps Server Customers
Overview In September 2026, NTLM support will be removed from libcurl, which is used by Git for HTTP(S) operations. As a result, Git operation...
What’s new across Microsoft SQL in 2026 so far (SQL Server, Azure SQL, and SQL database in Fabric)
We’re halfway through 2026, and Microsoft SQL has not slowed down. Since SQLCon/FabCon in March (where we released a ton of things, and those ...
Power Automate Flow — HTTP Trigger to Azure OpenAI
Build the secure Power Automate HTTP trigger flow that receives free text from the portal, calls Azure OpenAI using your smart-form-extract de...
Spring AI 2.0 is GA: Vector Search, Memory, and Agents on Azure Cosmos DB
The wait is over. Spring AI 2.0 is generally available, and Azure Cosmos DB is right there with it. With this release, Spring AI graduates int...