AWS Compute Blog

AWS Lambda Announces Java Support

Tim Wagner Tim Wagner, AWS Lambda

Java comes to Lambda!

Support for Java has been one of our most requested features, so I’m very happy to announce that’s it’s here! Check out the overview on the AWS blog or the docs.

Java has a more heavyweight initialization than nodejs, so the console defaults to a larger memory setting and duration (timeout). Once it’s running however, subsequent uses of a “warm” Java process are typically faster than nodejs requests. We’re continuing to invest in speeding up the initialization time to make the cold / infrequent use case even better.

If you’re using the AWS Eclipse Plugin to author and upload Lambda functions, add the AWS Core, AWS Java SDK, EC2, and Lambda plugins, and remember to have an S3 bucket in the same region as your Lambda function for the Eclipse plugin to stage code uploads.

Happy (Java) Lambda coding!

-Tim
Follow my Lambda adventures on Twitter