Jakarta EE on Azure – November 2023
Hi everyone, welcome to the November update for Jakarta EE on Azure. Microsoft partners with Jakarta EE application server vendors to create Azure Marketplace offers – with Solution Templates and Base Images that allow customers to quickly deploy their software on Azure Virtual Machines, Azure Kubernetes Service, Azure Red Hat OpenShift, and Azure Container Apps. Additionally, there is a wide range of Jakarta EE and MicroProfile documentation guidance in Azure Learn platform to make it as easy as possible to get started with production ready deployments utilizing best practices from both Jakarta EE application server vendors and Microsoft. To refresh your experience of using Java EE, Jakarta EE, and MicroProfile on Azure, here is the news you should know!
RHEL 8.7 Base Images for WebLogic on Azure VMs Now Available
We now have Red Hat Enterprise Linux (RHEL) 8.7 Base Images for Oracle WebLogic on Azure Virtual Machine (VM). The Azure Application Marketplace offers have been updated to allow users to choose these base images when deploying the offer.
You may find Azure Application Marketplace offers for WebLogic on Azure with the following short links:
- WebLogic Server on VM configured cluster https://aka.ms/wls-vm-cluster
- WebLogic Server on VM single https://aka.ms/wls-vm-admin
- WebLogic Server on VM dynamic cluster https://aka.ms/wls-vm-dynamic-cluster
- WebLogic Server on AKS https://aka.ms/wls-aks-portal
Azure Extensions for MicroProfile Available in Maven Central
The Azure extensions for MicroProfile are now available in Maven Central.
The Azure/azure-microprofile repository hosts Azure extensions for MicroProfile, which are implemented by different Azure services. For example, the Config Source for Azure Key Vault extension allows users to interact with Azure Key Vault for securely storing and accessing secrets. The extension is now being published to Maven Central here com.azure.microprofile:azure-microprofile-config-keyvault (sonatype.com). Feel free to explore the following sample applications in the repository:
- Open Liberty sample: This sample demonstrates how to configure an Open Liberty application to retrieve secrets from Azure Key Vault using the MicroProfile Config APIs to create a direct connection to Azure Key Vault.
- Quarkus sample: This sample demonstrates how to configure a Quarkus application to retrieve secrets from Azure Key Vault using the MicroProfile Config APIs to create a direct connection to Azure Key Vault.
Quarkus on Azure Guidance Newly Published
Quarkus is the modern framework for developing Java applications that are optimized for cloud-native and serverless environments. Discover how to deploy a Java application with Quarkus on Azure Container Apps by following our comprehensive step-by-step guides.
There are also guides that describe how to deploy a Quarkus app on Azure Kubernetes Service or Azure Functions. Feel free to explore these options on your own.
- Deploy Quarkus on Azure Kubernetes Service – Azure Kubernetes Service | Microsoft Learn
- Deploy serverless Java apps with Quarkus on Azure Functions | Microsoft Learn
Open Liberty on Azure Guidance Newly Published
The Open Liberty Operator simplifies the deployment and management of applications running on Kubernetes-based clusters. Azure Container Apps (ACA) is a powerful Azure services for running containerized applications. It is more app-centric and provides a simpler serverless experience than Azure Kubernetes Services (AKS) without exposing the underlying Kubernetes APIs or cluster management. It also supports event-driven architecture and scaling to zero. This guide, recently published, can expedite your journey towards Liberty on ACA.
- Deploy a Java Application with Open Liberty or WebSphere Liberty on Azure Container Apps – Java on Azure | Microsoft Learn
Alternatively, there is a guide on deploying a Java application with Open Liberty or WebSphere Liberty on an AKS cluster. It uses the Azure Marketplace offer for Open Liberty/WebSphere Liberty to accelerate the journey to AKS. The offer can be found with this shortcut link directly: https://aka.ms/liberty-aks.
- Deploy a Java application with Open Liberty/WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster – Azure Kubernetes Service | Microsoft Learn
JBoss EAP on Azure Guidance Newly Published
Virtual machines are a mature, proven migration path to the cloud that provides maximum flexibility and control. Microsoft and Red Hat provide robust options for migrating JBoss EAP workloads to Azure Virtual Machines (Azure VMs). In most cases, Azure Marketplace solution templates can accelerate migrating JBoss EAP workloads. It offers a complete and in-depth understanding with the tutorial below, which outlines the steps for manual installation of JBoss EAP Server on Azure VMs, along with instructions on configurating a cluster in domain mode on Red Hat Enterprise Linux (RHEL) Azure VMs.
- Tutorial: Install Red Hat JBoss EAP on Azure Virtual Machines manually – Java on Azure | Microsoft Learn
If you prefer a fully automated solution that does all steps on your behalf on GNU/Linux VMs, refer to the following Quick Start guide, in which it uses the Azure Marketplace offer for JBoss EAP on Azure:
- Quickstart: Deploy JBoss EAP Server on Azure VM using the Azure portal – Java on Azure | Microsoft Learn
Building Cloud Native Application Based on MicroProfile
At the recent JakartaOne Livestream Conference, we delivered a session on Building Cloud Native applications based on MicroProfile. The sample application showcased in the session demonstrated how to build microservices using MicroProfile 6.0 and Jakarta EE 10. Find the session recording from YouTube DEVELOPMENT PRACTICES FOR BUILDING CLOUD-NATIVE APPLICATIONS BASED ON MICROPROFILE (in Chinese). For the sample code behind this demo, see https://aka.ms/microprofile-piggymetrics.
JakartaOne Livestream is a one-day virtual conference for developers and technical business leaders. It brings insights into the current state and future of Jakarta™ EE and related technologies focused on developing cloud native Java applications. Read more from JakartaOne Livestream.
Overview for Jakarta EE on Azure offers
Microsoft partners with IBM, Oracle, and Red Hat to bring their app server products to Azure. The Azure Marketplace offers are:
- IBM WebSphere Product Family on Azure https://aka.ms/websphere-on-azure-contactme
- Oracle WebLogic Server on Azure Solution Overview https://aka.ms/wls-contact-me
- JBoss EAP on Azure https://aka.ms/eap-contact-me
Besides, there are multiple supporting technologies for Cloud Native Java, which include but are not limited to the Quarkus extensions, the Azure MicroProfile library, and integrations into other Azure dev services.
Quarkus Azure Services Extensions are
- Quarkus Azure App Configuration Extension: pkg:firstname.lastname@example.org | code | doc | sample
- Quarkus Azure Blob Storage Extension: pkg:email@example.com | code | doc | sample
Azure Extensions for MicroProfile are