AWS Developer Tools Blog

Category: Java

Introducing the AWS Resource APIs for Java

Today we’re excited to announce the first developer preview release of the AWS Resource APIs for Java! The AWS SDK for Java provides a set of Amazon[Service]Client classes, each exposing a direct mapping of each AWS service’s API. These client objects have a method for each operation that the service supports, with corresponding POJOs representing […]

AWS Ant Tasks

Introducing a new AWS Labs project: AWS Ant Tasks. These are custom tasks to use within your Ant builds that allow easy access to AWS services. Ant is a commonly used tool for building Java projects, and now you can use it to deploy your project to AWS within the same build. To use these […]

Determining an Application’s Current Region

AWS regions allow you to run your applications in multiple geographically distributed locations all over the world. This allows you to position your applications and data near your customers for the best possible experience. There are ten AWS regions available today: 4 regions in North America 4 regions in Asia Pacific 1 region in South […]

Accessing Private Content in Amazon CloudFront

Amazon CloudFront is an easy to use, high performance, and cost efficient content delivery service. With over 50 worldwide edge locations, CloudFront is able to deliver your content to your customers with low latency in any part of the world. In addition to serving public content for anyone on the Internet to access, you can […]

Pausing and Resuming transfers using Transfer Manager

One of the really cool features that TransferManager now supports is pausing and resuming file uploads and downloads. You can now pause a very large file upload and resume it at a later time without having the necessity to re-upload the bytes that have been already uploaded. Also, this helps you survive JVM crashes as […]

Follow up on Base64 Codec Performance

After we posted the previous blog, A Fast and Correct Base64 Codec, some readers expressed interest in getting more details about the comparison of various codecs’ performance. So this blog post is a quick follow-up with a side-by-side decode/encode performance comparison of various Base64 codec’s, including AWS SDK for Java, DataTypeConverter, Jakarta Commons Codec and […]

A Fast and Correct Base 64 Codec

In AWS, we always strive to make our tools and services better for our customers. One example is the recent improvement we made to the AWS Java SDK’s Base 64 encoding and decoding. In essence, we’ve replaced the use of Jakarta Commons Codec 1.x with a different implementation throughout the entire SDK. Why, you may […]

Amazon S3 Server-Side Encryption with Customer-Provided Keys

Amazon S3 recently launched a new feature that lets developers take advantage of server-side encryption, but still control their encryption keys. This new server-side encryption mode for Amazon S3 is called Server-Side Encryption with Customer-Provided Keys (SSE-C). Using server-side encryption in Amazon S3 with your own encryption keys is easy using the AWS SDK for […]

Amazon S3 Requester Pays

You may have heard about the Requester Pays feature in Amazon S3 that allows bucket owners to pass the data transfer costs to users who download the data. Users can now use the AWS SDK for Java to enable/disable Requester Pays on their buckets. To enable Requester Pays on an Amazon S3 bucket // create […]

Secure Local Development with the ProfileCredentialsProvider

We’ve talked in the past about the importance of secure credentials management. When your application is running in production, IAM roles for Amazon EC2 are a great way to securely deliver AWS credentials to your application. However, they’re by definition available only when your application is running on EC2 instances. If you’re a developer making […]