From the course: Cloud Native Projects: GCP Serverless
Unlock this course with a free trial
Join today to access over 25,400 courses taught by industry experts.
Cloud Functions with Java - Google Cloud Platform Tutorial
From the course: Cloud Native Projects: GCP Serverless
Cloud Functions with Java
- [Instructor] So now that we've wrapped up Python, which is by far one of the most popular languages for writing cloud functions, we're now going to take a look at Java and how to write a cloud function in Google Cloud Project using Java. So I'm going to start in my Java IDE IntelliJ and I'm going to create a new project. Now I'm going to choose a Maven project and I'm going to use Java 11. Now the first thing that I'm going to do here is I'm going to name this java_example and then I'm going to select the appropriate folder for this. Now I'm going to open up the artifact coordinates and I'm going to specify a group of com.frankmoley.lil for LinkedIn Learning, cloudfx for cloud functions. We'll leave java_example as the artifact ID and we'll leave the version to one. We're presented with the POM file and we're going to start there. So in our POM file, we need to add a few things. So the first thing that we're going…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.