AWS SDK for Java, version 2.0

1 min Read Time

The Capital Region AWS User Group met on January 18th at the Nanotech Complex in Albany New York. CommerceHub hosted the meeting at their main office.

The topic of this month’s meetup was the AWS SDK for Java. At HBC, our development teams use the SDK to access AWS services such as DynamoDB, S3, CloudWatch, and SNS. The v1 SDK has been a core building block at HBC since 2014.

In June 2017, Amazon released a new implementation of the SDK for Java.

aws-sdk-image

The version 2.0 SDK is available as a developer preview. HBC is evaluating the new SDK and we look forward to using it in production later this year.

aws-sdk-image

Our engineering team has already started incorporating the v2 SDK into our helper libraries:

The v2 API uses java.util.concurrent.CompletableFuture to encapsulate the result of an AWS service call. HBC’s Scala libraries will use FutureConverters to convert Java CompletableFuture objects into Scala Future objects.

aws-sdk-image

If you want to learn more about the v2 SDK, review my slidedeck or watch Kyle Thomson’s re:invent 2017 presentation.

aws-sdk-java-speakerdeck-albany-image aws-reinvent-2017-kyle-thomson-image

Sean Sullivan