Azure libraries help you consume Azure services in your Java apps using native interfaces. Each library is independent and can be used separately from the others another.
| Azure Storage | SQL Database | Redis Cache | DocumentDB |
| Service Bus | Azure Active Directory | Key Vault | Event Hub |
| IoT Service | IoT Device | Data Lake | AppInsights |
| Batch | Manage Azure resources |
Install with Maven
Add a dependency entry in your pom.xml to import a library into your Maven project.
For example, to include the latest version of the Azure management libraries for Java:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.1.0</version>
</dependency>
Other Java build tools like Gradle are supported but the install steps are not provided in this article. Review the documentation for your build tool on how to consume Maven imports.
Azure service libraries
Integrate Azure services to add functionality to your apps using these libraries. Learn more about building apps with Azure services at the Java developer center.
Azure Storage
Data storage and messaging for your applications.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>5.2.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
SQL Database
JDBC driver for Azure SQL Database.
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>6.2.0.jre8</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Redis Cache
Low-latency, high-performance key-value store.
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Samples | Reference | GitHub | Release Notes
CosmosDB
Scalable NoSQL database with JSON documents and a SQL or JavaScript query syntax.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-documentdb</artifactId>
<version>1.11.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Service Bus
Java Message Service (JMS) support through AMQP to connect your applications.
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
<version>0.23.0</version>
</dependency>
Reference | Sample | GitHub | Release Notes
Azure Active Directory
Identity management and secure sign-in for your applications.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.2.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Key Vault
Safely access keys and secrets from your applications.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<version>1.0.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Event Hub
High-throughput event and telemetry handling for your instrumentation or IoT scenarios.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-eventhubs</artifactId>
<version>0.14.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
IoT Service
Manage identities, send messages, and get feedback from devices registered with your IoT hub.
<dependency>
<groupId>com.microsoft.azure.sdk.iot</groupId>
<artifactId>iot-service-client</artifactId>
<version>1.4.20</version>
</dependency>
Samples | Reference | GitHub | Release Notes
IoT Device
Send a message to an IoT hub from your device.
<dependency>
<groupId>com.microsoft.azure.sdk.iot</groupId>
<artifactId>iot-device-client</artifactId>
<version>1.1.27</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Data Lake Store
Capture data of any size and shape into a single location for performing analytics.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-data-lake-store-sdk</artifactId>
<version>2.1.5</version>
</dependency>
Samples | Reference | GitHub | Release Notes
AppInsights
Track usage, add telemetry, and monitor your web apps.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>applicationinsights-web</artifactId>
<version>1.0.7</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Batch
Run large-scale parallel and high-performance computing applications efficiently in the cloud.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-batch</artifactId>
<version>2.0.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes
Manage Azure resources
Create, update, and delete Azure resources from your application code.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.1.0</version>
</dependency>
Samples | Reference | GitHub | Release Notes


