From the course: Cloud Native Projects: AWS Serverless

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Lambda with Java

Lambda with Java

- [Instructor] So in the previous chapter, we looked at creating lambda functions and testing them using the Python language. Now, outside of Go, which is what I use on an almost everyday basis, Python's probably my second favorite language. And when it comes to lambda functions, Python is definitely my first choice. However, there are a lot of people that use Java, and Java is a very capable language, especially when you start looking at the various triggers throughout AWS Lambda. So let's take a look at what it takes to create a Java-based lambda function. All right, so I want you to go ahead and open up your IDE, and I'm going to create a new project. And I'm going to base it off of Java 11, and it's going to be a Maven project. Now, I'm using IntelliJ. Everybody's IDEs are going to be a little bit different but all of them allow you to create a Maven-based project using Java 11, assuming you have the JDK installed.…

Contents