A case study of a simple Java Lambda function

In this section, we'll look at how we can create a basic Lambda function end-to-end, using the Java programming model. The Java programming model for Lambda functions can be extended to any language that runs on JVM. In the later sections of this book, we will explore Kotlin, but for the sake of focusing on AWS Lambda basics, we'll perform this exercise in Java. This section will aim at providing a starting point for the reader for creating, configuring, deploying, and testing Lambda functions. We will apply all of the concepts that we have seen in a practical example.

We will be creating a very basic Lambda function. It will be a greeter service. The input will be a String parameter, and it will ...

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.