AWS Developer Tools Blog
Tag: aws-sdk-java-v2
GraalVM Native Image Support in the AWS SDK for Java 2.x
We are excited to announce that AWS SDK for Java 2.x (version 2.16.1 or later) now has out-of-the-box support for GraalVM Native Image compilation. GraalVM is a universal virtual machine that supports JVM-based languages (e.g. Java, Scala, Kotlin), dynamic languages (e.g. Python, JavaScript), and LLVM-based languages (e.g. C, C++). GraalVM Native Image is one of […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
Automated Performance Regression Detection in the AWS SDK for Java 2.0
We are happy to share that we’ve added automated performance regression tests to the AWS SDK for Java 2.0. With this benchmark harness, every change to the SDK will be tested for performance before release, to avoid potential performance regressions. We understand that performance is critical to our customers and we’ve prioritized improving various performance […]
AWS SDK for Java 2.x released
We’re pleased to announce that the AWS SDK for Java 2.x is now generally available and supported for production use. Version 2.x is a major rewrite of the 1.11.x code base. Built with support for Java 8+, 2.x adds several frequently requested features, like nonblocking I/O, improved start-up performance and automatic iteration over paginated responses. […]