AWS Developer Blog

Category: Java

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

The AWS SDK for Java will no longer support Java 6

The AWS SDK for Java currently maintains two major versions: 1.11.x and 2.x. Customers on Java 8 or newer may use either 2.x or 1.11.x, and customers on Java 6 or newer may use 1.11.x. Free updates to the Java 6 virtual machine (JVM) were stopped by Oracle on April 2013. Users that don’t pay […]

Read More

AWS Toolkit for IntelliJ – Now generally available

Last year at re:Invent we told you that we were working on the AWS Toolkit for IntelliJ. Since then, the toolkit has been in active development on GitHub. I’m happy to share that the AWS Toolkit for IntelliJ is now generally available! The toolkit provides an integrated experience for developing serverless applications. For example, you […]

Read More

Publishing to HTTP/HTTPs Endpoints Using SNS and the AWS SDK for Java

We’re pleased to announce new additions to the AWS SDK for Java (version 1.11.274 or later) that makes it easy to securely process Amazon SNS messages via an HTTP/HTTPS endpoint. Before this update, customers had to deal with unmarshalling Amazon SNS messages sent to HTTP endpoints and validating their authenticity. Not only was this tedious, […]

Read More

AWS Toolkit for Eclipse: Locally Debug Your Lambda Functions and Amazon API Gateway Using AWS SAM Local

We are pleased to announce that the AWS Toolkit for Eclipse now supports AWS SAM Local for locally debugging your AWS Lambda functions and Amazon API Gateway in Java. See AWS SAM Local for more details about this command line tool. Prerequisites AWS SAM Local is dependent on a Lambda Docker image for running your Lambda functions locally. Before […]

Read More