AWS Developer Blog

Category: Java

Announcing the AWS Encryption SDK

by Andrew Shore | on | in Java | Permalink | Comments |  Share

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

Read More

Introducing Retry Throttling

by Jonathan Breedlove | on | in Java | Permalink | Comments |  Share

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

Read More

Migrating your databases using AWS Database Migration Service

by Zhaoxi Zhang | on | in Java | Permalink | Comments |  Share

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

Read More

Using Amazon SQS with Spring Boot and Spring JMS

by Magnus Bjorkman | on | in Java | Permalink | Comments |  Share

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

Read More

Parallelizing Large Uploads for Speed and Reliability

by Magnus Bjorkman | on | in Java | Permalink | Comments |  Share

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

Read More

Deploying Java Applications on Elastic Beanstalk from Maven

by Zhaoxi Zhang | on | in Java | Permalink | Comments |  Share

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

Read More

Event-driven architecture using Scala, Docker, Amazon Kinesis Firehose, and the AWS SDK for Java (Part 2)

by Sascha Moellering | on | in Java | Permalink | Comments |  Share

In the first part of this blog post, we used the AWS SDK for Java to create a Scala application to write data in Amazon Kinesis Firehose, Dockerized the application, and then tested and verified the application is working. Now we will roll out our Scala application in Amazon EC2 Container Service (ECS) and use […]

Read More

Event-driven architecture using Scala, Docker, Amazon Kinesis Firehose, and the AWS SDK for Java (Part 1)

by Sascha Moellering | on | in Java | Permalink | Comments |  Share

The key to developing a highly scalable architecture is to decouple functional parts of an application. In the context of an event-driven architecture, those functional parts are single-purpose event processing components (“microservices”). In this blog post, we will show you how to build a microservice using Scala, Akka, Scalatra, the AWS SDK for Java, and Docker. […]

Read More

Managing Dependencies in Gradle with AWS SDK for Java – Bill of Materials module (BOM)

by Manikandan Subramanian | on | in Java | Permalink | Comments |  Share

In an earlier blog post, I discussed how a Maven bill of materials (BOM) module can be used to manage your Maven dependencies on the AWS SDK for Java. In this blog post, I will provide an example of how you can use the Maven BOM in your Gradle projects to manage the dependencies on […]

Read More

Tuning the AWS SDK for Java to Improve Resiliency

by Andrew Shore | on | in Java | Permalink | Comments |  Share

In this blog post we will discuss why it’s important to protect your application from downstream service failures, offer advice for tuning configuration options in the SDK to fit the needs of your application, and introduce new configuration options that can help you set stricter SLAs on service calls. Service failures are inevitable. Even AWS […]

Read More