Muokkaa

Jaa


Java libraries, drivers, and Spring modules for Azure

This article provides links to the Java libraries, drivers, Spring modules, and related articles available for use with Azure.

Microsoft’s goal is to empower every developer to achieve more, and our commitment to Java developers is no exception. Java and Spring developers want to use idiomatic libraries to simplify connections to their preferred cloud services. These libraries, drivers, and modules let you easily interact with Azure services across data, messaging, cache, storage, eventing, directory, and secrets management. Use the following table to find the right library, driver, or module and guides to get started.

Category Azure service Java library or driver Java getting started Spring module Spring getting started
Data SQL database SQL Database JDBC driver Use Java and JDBC with Azure SQL Database Spring Data:
JDBC
JPA
R2DBC
Use Spring Data with Azure SQL Database:
JDBC
JPA
R2DBC
Data MySQL MySQL JDBC driver Quickstart: Use Java and JDBC with Azure Database for MySQL Spring Data:
JDBC
JPA
R2DBC
Use Spring Data with Azure Database for MySQL:
JDBC
JPA
R2DBC
Data PostgreSQL PostgreSQL JDBC driver Quickstart: Use Java and JDBC with Azure Database for PostgreSQL Flexible Server Spring Data:
JDBC
JPA
R2DBC
Use Spring Data with Azure Database for PostgreSQL:
JDBC
JPA
R2DBC
Data MariaDB MariaDB driver MariaDB drivers and management tools compatible with Azure Database for MariaDB Spring Data:
JDBC
JPA
R2DBC
Use Spring Data with Azure Database for MySQL:
JDBC
JPA
R2DBC
Data Azure Cosmos DB - SQL Maven Repository: com.azure » azure-cosmos Quickstart: Build a Java app to manage Azure Cosmos DB for NoSQL data Spring Data Azure Cosmos DB How to use the Spring Boot Starter with Azure Cosmos DB for NoSQL
Data Azure Cosmos DB - MongoDB MongoDB Java Drivers Quickstart: Create a console app with Java and Azure Cosmos DB for MongoDB Spring Data MongoDB How to use Spring Data with Azure Cosmos DB for MongoDB
Data Azure Cosmos DB - Cassandra Datastax Java Driver for Apache Cassandra Quickstart: Build a Java app to manage Azure Cosmos DB for Apache Cassandra data (v4 Driver) Spring Data Apache Cassandra How to use Spring Data with Azure Cosmos DB for Apache Cassandra
Data Azure Cosmos DB for Apache Gremlin Gremlin Java Driver Quickstart: Build a graph database with the Java SDK and Azure Cosmos DB for Apache Gremlin Quickstart: Build a graph database with the Java SDK and Azure Cosmos DB for Apache Gremlin
Cache Redis JEDIS client Quickstart: Use Azure Cache for Redis in Java Spring Data Redis
Reference
Spring Cloud Azure Redis support
Configure a Spring Boot Initializer app to use Redis in the cloud with Azure Redis Cache
Cache Redis LETTUCE client Best Practices for using Azure Cache for Redis with Lettuce Spring Data Redis
Reference
Spring Cloud Azure Redis support
Configure a Spring Boot Initializer app to use Redis in the cloud with Azure Redis Cache
Storage Azure Storage Maven Repository: com.azure » azure-storage-blob Quickstart: Manage blobs with Java v12 SDK Spring Cloud Azure resource handing How to use the Spring Boot Starter for Azure Storage
Messaging Service Bus JMS + AMQP Send messages to an Azure Service Bus topic and receive messages from subscriptions to the topic Spring AMQP
Spring Cloud Azure JMS support
How to use Spring Boot Starter for Azure Service Bus JMS
Messaging Service Bus Azure Service Bus client library for Java Azure Service Bus Samples client library for Java Spring AMQP
Spring integration with Azure Service Bus
Spring Cloud Stream Binder for Azure Service Bus
How to use Spring Cloud Azure Stream Binder for Azure Service Bus
Eventing Event Hubs Kafka Send and Receive Messages in Java using Azure Event Hubs for Apache Kafka Ecosystems Spring for Apache Kafka
Spring Cloud Azure Kafka support
How to use the Spring Boot Starter for Apache Kafka with Azure Event Hubs
Eventing Event Hubs Azure Event Hubs libraries for Java Use Java to send events to or receive events from Azure Event Hubs Spring Cloud Stream Binder for Event Hubs How to create a Spring Cloud Stream Binder application with Azure Event Hubs
Directory Microsoft Entra ID MSAL Enable Java Servlet apps to sign in users on Microsoft Entra ID Microsoft Entra Spring Boot Starter Enable Spring Boot Web apps to sign in users on Microsoft Entra ID
Directory Azure Active Directory B2C MSAL Enable Java Servlet apps to sign in users on Azure AD B2C Azure AD B2C Spring Boot Starter Enable Spring Boot Web apps to sign in users on Azure AD B2C
Secrets Key Vault Key Vault Secrets Manage secrets using Key Vault Key Vault Secrets Spring Boot Starter Manage secrets for Spring Boot apps
Certificates Key Vault Key Vault Certificates JCA Key Vault Certificates Spring Boot Starter Manage certificates for Spring Boot apps

Next steps

For all other libraries, see Azure SDK for Java libraries.