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.
Challenge: Java - Google Cloud Platform Tutorial
From the course: Cloud Native Projects: GCP Serverless
Challenge: Java
(upbeat music) - [Instructor] Now it's time for our Java challenge for this course, and we're basically going to do the same thing from Python, only using Java to sort of flex those muscles of working with the cloud console and the CLI. So a reminder of the steps, you're going to have to create a Java program using Maven, or Gradle if you prefer. You'll find documentation for Gradle out in the GCP documentation. Once again, we're going to do a coin flip program; pretty straightforward. You're going to import from the request the number of flips that you're going to execute. You're going to randomize your results, and based on that randomization, you're going to output the number of flips as well as the results. Now, the rest of it is up to you how you want to do this. If you're really interested, you might want to consider writing the results to something like cloud storage or executing some message-driven program.…
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.