Microsoft Open Technologies, Inc. (MS Open Tech), has released a new update to the Azure Toolkit for Eclipse with Java.
Included enhancements since our June 2014 release:
- Support for Azure SDK 2.4
- Updated Package for Azure Libraries for Java client API library
- Compatibility with Zulu OpenJDK v1.6, v1.7 and v1.8
- Support for the latest Publish Settings file format (v2.0)
Support for Azure SDK 2.4
The latest Azure SDK (2.4) is a pre-requisite for using the Azure Toolkit for Eclipse with Java. If you do not already have Azure SDK 2.4 installed when you begin using this new plugin, you will be prompted to allow its installation. As well, Azure SDK 2.4 is not compatible with earlier versions of the plugin.
Updates to the Package for Azure Libraries for Java
The SDK distribution of the Azure Libraries for Java are packaged along with their open-source dependencies as an Eclipse library called the Package for Windows Azure Libraries for Java (by MS Open Tech). If your Java code needs to take advantage of the Windows Azure API, add this library to the build path of your Java project (not the Windows Azure project). All the needed libraries can be automatically referenced and included from within your WAR file.
To add the Package for Windows Azure Libraries for Java to your build path (as shown below):
- Right-click your project and select Properties, then select Java Build Path.
- Select Add Library in the Libraries Tab
- Select the Package for Azure Libraries for Java (by MS Open Tech) and then click Next.
- Select the option to Include in the project deployment assembly, and then click Finish.
- In your code you will need to include an import statement for the Service Runtime library. Here’s an example of a JSP header that includes an import statement.
<%@ page language="java" contentType="text/html; import="com.microsoft.windowsazure.serviceruntime.*" %>
Updates to Zulu OpenJDK v1.6, 1.7 and v1.8
Through our continuing partnership with Azul Systems, we have updated our packages for Azul Zulu 1.6, 1.7 and 1.8 to be compatible with the latest OpenJDK releases. Zulu is listed as one of the 3rd party JDK Deployment options that projects developed using the Azure Toolkit for Eclipse can deploy to Azure. Deployment happens automatically under the hood in Windows Azure, without having to download the OpenJDK package to a local machine before deployment. More information about each package is available on the Azul Systems Zulu page.
Support for the latest Publish Settings File Format (v2.0)
Until now, the Toolkit required the v1.0 of the publish settings file format. Now you can use either v1.0 or v2.0. This makes it easier to share the publish settings file with other Azure tools and it allows for using different certificates with different subscriptions – a feature the v1.0 format did not support.
Accessing the Toolkit
A number of bug fixes were also included in this release, which we prioritized based on your valuable feedback. We encourage you to keep sharing your input with us, not just when you encounter bugs but also if you have specific ideas and/or code to improve our tools to make testing and deploying Java applications on Azure even easier. The best channels to share feedback are the comments section below, and through the MSDN Forums or Stack Overflow technical forums.