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
Introduction
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.
Prerequisites
- JDK — Java Development Kit 17
- Your preferred Java IDE — Eclipse, IntelliJ, VS Code
- Apache Maven
- Oracle Database Service on Azure
- Azure Subscription
- Azure CLI
- Docker