AWS Developer Tools Blog

Category: Java

Parallelizing Large Downloads for Optimal Speed

TransferManager now supports a feature that parallelizes large downloads from Amazon S3. You do not need to change your code to use this feature. You only need to upgrade the AWS SDK for Java to version 1.11.0 or later. When you download a file using TransferManager, the utility automatically determines if the object is multipart. If so, […]

Creating Lambda Stream Functions Using the AWS Toolkit for Eclipse

In this blog post, I will introduce two new features in the AWS Toolkit for Eclipse: creating an AWS Lambda stream function and creating multiple AWS Lambda functions in a single project. Unlike the normal AWS Lambda functions which take in POJOs for handler Input/Output, the AWS Lambda stream functions let you use the InputStream and OutputStream […]

AWS SDK for Java Developer Guide Is Now Open Source

We are happy to announce that the AWS SDK for Java Developer Guide and AWS Toolkit for Eclipse User Guide are now open-sourced on GitHub! You can edit content and code inline, make pull requests, file issues, and send content suggestions to the documentation and SDK teams. The AWS SDKs have always embraced openness as a […]

Testing Lambda functions using the AWS Toolkit for Eclipse

In this blog post, I will introduce how to test AWS Lambda functions in Eclipse by using the AWS Toolkit for Eclipse. The AWS Toolkit for Eclipse Lambda Plugin provides a feature in which a JUnit test class is created automatically upon creation of a new AWS Lambda Java project. I will give you step-by-step instructions for creating […]

Announcing the AWS Encryption SDK

We’ve published several posts on client-side encryption using Java tools over the past couple of years, including ones on the S3 Encryption Client and the DynamoDB Encryption Client. Both of these clients assume a specific AWS service as the storage layer for data encrypted by the client. Today, the AWS Cryptography team released the AWS […]

Introducing Retry Throttling

Client side retries are used to avoid surfacing unnecessary exceptions back to the caller in the case of transient network or service issues.  In these situations a subsequent retry will likely succeed.  Although this process incurs a time penalty, it is often better than the noise from oversensitive client side exceptions.  Retries are less useful […]

Migrating your databases using AWS Database Migration Service

In this blog post, I will introduce a simple workflow using the AWS SDK for Java to perform a database migration with the AWS Database Migration Service (AWS DMS). AWS DMS helps you migrate databases to AWS easily and securely. With AWS DMS, the source database remains fully operational during the migration, minimizing downtime to applications that rely on […]

Using Amazon SQS with Spring Boot and Spring JMS

By favoring convention over configuration, Spring Boot reduces complexity and helps you start writing applications faster. Spring Boot allows you to bootstrap a framework that abstracts away many of the recurring patterns used in application development. You can leverage the simplicity that comes with this approach when you use Spring Boot and Spring JMS with […]

Parallelizing Large Uploads for Speed and Reliability

As Big Data grows in popularity, it becomes more important to move large data sets to and from Amazon S3. You can improve the speed of uploads by parallelizing them. You can break an individual file into multiple parts and upload those parts in parallel by setting the following in the AWS SDK for Java: […]

Deploying Java Applications on Elastic Beanstalk from Maven

The Beanstalker open source project now supports Java SE application development and deployment directly to AWS Elastic Beanstalk using the Maven archetype elasticbeanstalk-javase-archetype. With just a few commands in a terminal, you can create and deploy a Java SE application. This blog post provides step-by-step instructions for using this archetype. First, in the terminal, type the mvn archetype:generate command. Use elasticbeanstalk as the filter, choose elasticbeanstalk-javase-archetype […]