ODSA for Java Developers (Part 4) — Connecting to Oracle ADB from a Spring Boot 3.0 App with Spring Data JPA on Azure Container Apps

Juarez Junior
Oracle Developers
Published in
10 min readDec 15, 2022

Oracle Database Service for Microsoft Azure (ODSA)

by Juarez Junior


Part 1 in this series introduced the Oracle Database Service for Microsoft Azure (ODSA), its benefits concerning a multi-cloud strategy, and an example of accessing it from a Java application with the JDBC API.

Part 2 explored another scenario with ODSA and a Spring Boot 3.0 application with Spring Data JPA on Azure App Service.

In Part 3, we deployed the same application to Azure Spring Apps, a fully managed service from Microsoft and VMware.

This blog post is about a container image for the sample application, deploying the image to Azure Container Registry, then using it to deploy the application to Azure Container Apps.


Azure Container Apps

Azure Container Apps is a serverless container service for applications and microservices. It allows developers to package their applications in a container so they can be executed regardless of their programming language or framework.

It leverages Kubernetes to ease and abstract the complexity of infrastructure management and container orchestration.

Behind the scenes, every application runs on the Azure Kubernetes Service, allowing you to build microservices with support for Distributed Application Runtime (Dapr), Kubernetes Event-Driven Autoscaling (KEDA), and Envoy.

This blog post is not an exhaustive guide to Azure Container Apps, as its goal is to provide a quick guide on how to build a container image for a Spring Boot 3 application, deploy it to Azure Container Registry, then deploy an application based on that image to Azure Container Apps.

Juarez Junior
Oracle Developers

Senior Principal #Java Developer Evangelist @ Oracle. Invite me to speak about #Java #OracleDatabase #OracleCloud #Blockchain #DevRel ☕️🥑