AWS Adds Java Lambda Support
AWS Adds Java Lambda Support
Written by Alex Denham   
Friday, 19 June 2015

Amazon Web Services (AWS) has updated AWS Lambda to let you write Lambda functions in Java, including Java 8.

Lambda is a service that runs your code in response to events and automatically manages the computing resources for you. If you've not come across it before this video provides an overview:

 

 

AWS Lambda was introduced last November and has already become popular with developers. It enables you to write code threads that run in response to specific event. One you create your Lambda function, it acts a bit like a spreadsheet function, running as soon as it is triggered. The function consists of your code along with associated configuration information, including the function name and resource requirements.

As explained on the AWS Lambda page:

"after you upload your code to AWS Lambda, you can associate your function with specific AWS resources (e.g. a particular Amazon S3 bucket, Amazon DynamoDB table, Amazon Kinesis stream, or Amazon SNS notification). Then, when the resource changes, Lambda will execute your function and manage the compute resources as needed in order to keep up with incoming requests.”

The Lambda service has already been enhanced with improvements including a synchronous invocation capability to make it better suited for developing the server-side code behind applications for the Web and Internet-of-Things (IoT).

You pay for Lambda according to the number of requests generated and the amount of code execution time. There’s a free tier that gives you 1 million monthly requests and 400,000 "GB-seconds" of monthly compute time.

According to Jeff Barr, chief evangelist for AWS, Java is the first in a series of additional language options that Amazon plans to make available to Lambda developers, and that you can begin writing your Lambda functions in Java immediately. He noted:

"To date, developers have written their Lambda functions in Node.js, a derivative of JavaScript designed specifically for use in server-side applications."

Now you can use the AWS ToolKit for Eclipse:

 

AWSLamdaJava

 

The addition means your Lambda code can make use of Java 8 features such as collections, and of Java libraries. You can also use the AWS SDK for Java to make calls to the AWS APIs. Support for Lambda Expressions was added in JDK 8, meaning you can treat functionality as a method argument, or code as data.

 

aws

 

 

More Information

AWS Lambda

Related Articles

Amazon AWS Lambda 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


Self Driving Cars Can Be Easily Made To Not See Pedestrians
03/05/2017

This is another chapter in the ongoing and long-running story of universal adversarial perturbations. In this case the technique has been extended to image segmentation and the perturbations can make  [ ... ]



Amazon Underground Developer Program To Close
28/04/2017

Amazon has announced that it will stop accepting new Android apps for the Underground Actually Free program on May 31st, 2017. Existing apps, will still be available for customers to download until 20 [ ... ]


More News

 

 
 

 

blog comments powered by Disqus

Last Updated ( Friday, 19 June 2015 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.