AWS Developer Tools Blog

Category: Java

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 […]

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 […]

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 […]

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, […]

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 […]

AWS SDK for Java 2.0 – Feedback Needed

This is the first in a series of blog posts that outline changes coming in the AWS SDK for Java 2.0. Read our developer preview announcement for more information about why we’re so excited for this new version of the SDK. We want your help to shape the future of the AWS SDK for Java […]

AWS SDK for Java 2.0 – Developer Preview

We’re pleased to announce the Developer Preview of the AWS SDK for Java 2.0. The 2.0 version of the SDK is a major rewrite of the 1.11.x code base. It’s built on top of Java 8 and adds several, frequently requested features, like support for non-blocking I/O and the ability to use a different HTTP […]

Writing Custom Metrics to Amazon CloudWatch Using the AWS SDK for Java

Metrics measure the performance of your system. Several AWS services provide free metrics, such as the CPU usage of an Amazon EC2 instance. You can create Amazon CloudWatch alarms based on metrics and send Amazon SNS messages when the alarm state changes. You can use this mechanism to implement elastic scaling if the message is […]

AWS Toolkit for Eclipse: Improved Support for Serverless Applications (Part 3 of 3)

In the first part of the blog series, we created a new application named rekognition-service from the rekognition blueprint. In the second part, we deployed this serverless application to AWS CloudFormation. In this last part of the blog series, we describe how to test and check the result of the newly deployed rekognition-service application. Test the rekognition-service application by using the Amazon S3 bucket […]

AWS Toolkit for Eclipse: Improved Support for Serverless Applications (Part 2 of 3)

In the first part of this blog post, we talked about how to create a new AWS SAM application from the rekognition serverless blueprint. In this second part, we describe how to deploy the application to AWS CloudFormation. Deploy the rekognition-service application to a new CloudFormation stack This .gif animation shows the steps to deploy an AWS SAM application to […]