The cloud industry leader said on Monday the java-based functions are now supported by Amazon Web Services AWS Lambda programming style.
Developers may now create their event handlers in Java 8 thanks to Monday’s upgrade, providing they do so statelessly without assuming anything about the underlying infrastructure.
AWS chief evangelist Jeff Barr said in a blog post: “The team is happy to be able to reply. We have had numerous requests for this.”
When several different events happen in the Amazon cloud, AWS Lambda functions can be automatically called. As a result, you might, for instance, configure a function to run whenever a specific Amazon Simple Storage Service (S3) storage bucket is updated or to keep an eye out for Kinesis data-processing service events.
For mobile apps that store data in the AWS cloud, lambda functions may also be utilized as the back end.
Java 8 features and Java libraries may both be used by lambda functions that were developed in the language. The handler code is combined with any required JAR files for AWS deployment into a JAR or ZIP file.
Amazon has made the AWS Toolkit plugin for Eclipse, which handles packaging and uploading handlers, to simplify developers’ lives.
It has also offered two libraries as part of the AWS SDK for Java to reduce tedious efforts. The other offers preconfigured type definitions for AWS event sources such as S3, Amazon Simple Notification Service (SNS), DynamoDB, Kinesis, and Cognito, whereas the first offers interfaces for handler objects.
Beginning Monday, developers may start developing Lambda functions in Java, and there will be further upgrades.
Barr stated that this was the first of “a number of other language options that we aim to make accessible to Lambda developers.” However, he did not specify which language(s) would be added to the platform in the future.