Azure libraries for Java

Use Azure libraries in your Java projects to manage resources and integrate services in your applications.

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:

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure</artifactId>
    <version>1.0.0-beta5</version>
</dependency>

Azure services

Consume Azure services in your applications using these libraries.

Azure Storage

Data storage and messaging for your applications.

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure-storage</artifactId>
    <version>5.0.0</version>
</dependency>

Reference | Samples | GitHub

SQL Database

JDBC driver for Azure SQL Database.

<dependency>
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <version>6.1.0.jre8</version>
</dependency>

Reference | Samples | GitHub

Redis Cache

Low-latency, high-performance distributed key-value store.

<dependency>
    <groupId>redis.clients</groupId>
    <artifactId>jedis</artifactId>
    <version>2.9.0</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>

Reference | Sample | GitHub

DocumentDB

Scalable NoSQL database with JSON documents and SQL or JavaScript query syntax.

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure-documentdb</artifactId>
    <version>1.9.3</version>
</dependency>

Reference | Samples | GitHub

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.11.1</version>
</dependency>

Reference | Sample | GitHub

Azure Active Directory

Identity management and secure sign-in for your applications.

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>adal4j</artifactId>
    <version>1.1.3</version>
</dependency>

Reference | Samples | GitHub

Key Vault

Encrypt secrets and safely access them from your applications.

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure-keyvault</artifactId>
    <version>1.0.0</version>
</dependency>

Reference | Samples | GitHub

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.10.0</version> 
</dependency>   

Reference | Samples | GitHub

IoT Service

Manage identities, send messages, and get feedback from devices in your IoT hub.

<dependency>
    <groupId>com.microsoft.azure.sdk.iot</groupId>
    <artifactId>iot-service-client</artifactId>
    <version>1.0.13</version>
</dependency>

Reference | Samples | GitHub

IoT Device

Send a message to an IoT hub from your device.

<dependency>
    <groupId>com.microsoft.azure.sdk.iot</groupId>
    <artifactId>iot-service-client</artifactId>
    <version>1.0.18</version>
</dependency>

Reference | Samples | GitHub

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.4</version>
</dependency>

Reference | Samples | GitHub

AppInsights

  • Track usage of web applications
  • Capture logs and correlate events with page views and requests
  • Add custom telemetry
  • Monitor application availability
<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>applicationinsights-web</artifactId>
    <version>1.0.7</version>
</dependency>

Reference | Samples | GitHub

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>1.0.0-rc</version>
</dependency>

Reference | Samples | GitHub

Azure management

Create, update, and delete Azure resources from your application code.

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure</artifactId>
    <version>1.0.0-beta5</version>
</dependency>

Reference | Samples | GitHub