AWS Developer Blog

Category: Java

Using Waiters in the AWS SDK for Java 2.x

We are excited to announce the general availability of the waiters feature in the AWS SDK for Java 2.x (version 2.15.0 or later). Waiters are an abstraction used to poll a resource until a desired state is reached, or until it is determined that the resource will never enter into the desired state. When interacting […]

Read More

Introducing immutable class mapping for the Enhanced DynamoDB Client in AWS SDK for Java 2.x

We are pleased to announce that the enhanced DynamoDB client in the AWS SDK for Java 2.x now supports the mapping of immutable Java objects directly with records in your DynamoDB tables. Previously, only mutable ‘Java bean’ style objects were supported. Immutability in Java is a commonly used style that allows developers to create classes […]

Read More

Introducing AWS Common Runtime HTTP Client in the AWS SDK for Java 2.x

We are pleased to announce the preview release of AWS Common Runtime (CRT) HTTP Client – a new HTTP client supported in the AWS SDK for Java 2.x. AWS CRT HTTP Client is an asynchronous, non-blocking HTTP client built on top of the Java bindings of the AWS Common Runtime. You can use the CRT […]

Read More

Client-Side Metrics for the AWS SDK for Java v2 is now generally available

We are excited to announce the general availability (GA) of the client-side metrics module for the AWS SDK for Java v2. On July 7th, 2020, we announced a preview release of client-side metrics. With release version 2.14.0 of the SDK, client-side metrics can now be used in production environments. Client-side metrics enable you to collect […]

Read More

Using the New Client-Side Metrics feature in the AWS SDK for Java v2

We are pleased to announce the preview release of the metrics module for AWS SDK for Java v2! The metrics module enables you to collect and publish key performance metrics recorded automatically by the SDK as you use it. These metrics will help you detect and diagnose issues in your applications like increased API call […]

Read More

Tuning the AWS Java SDK 2.x to reduce startup time

One of the most asked feature requests we’ve received from AWS Java SDK customers is to improve SDK startup latency, and in the development of AWS Java SDK 2.x, we’ve put a focus on SDK cold startup time for AWS Lambda functions. In this blog post, we will share the best practices on how to […]

Read More

Provision AWS infrastructure using Terraform (By HashiCorp): an example of web application logging customer data

Many web and mobile applications can make use of AWS services and infrastructure to log or ingest data from customer actions and behaviors on the websites or mobile apps, to provide recommendations for better user experience. There are several ‘infrastructure as code’ frameworks available today, to help customers define their infrastructure, such as the AWS […]

Read More

Introducing enhanced DynamoDB client in the AWS SDK for Java v2

We are pleased to announce the release of the enhanced DynamoDB client as a new module of the AWS SDK for Java 2.0. This enhanced DynamoDB module provides a more idiomatic code authoring experience. You can now integrate applications with Amazon DynamoDB using an adaptive API that allows you to execute database operations directly with […]

Read More

Bootstrapping a Java Lambda application with minimal AWS Java SDK startup time using Maven

We’re excited to share a new Maven Archetype for Java Lambda applications that we released recently and show you how to start building Java Lambda applications quickly, using this archetype. With the new archetype, customers can easily bootstrap a Java Lambda project configured with the AWS SDK for Java 2.x as a dependency and SAM […]

Read More

Consumer Builders in the AWS SDK for Java v2

The AWS SDK for Java v2 introduced immutable models which in turn necessitated using a builder to create request/response objects. Builders are a common pattern for working with immutable objects, they allow building up the state of an object over time and then calling build to create an immutable representation of the object. They also […]

Read More