Googleannounce Support Java 11. on its serverless computing platform Cloud Functions
Guillaume Laforge points out in the post,
As a serverless platform, cloud functions allows users to run locally or in the cloud without having to configure the server. Bringing Java 11 into the platform means that users can now write cloud functions in their favorite JVM languages (Java, kotlin, groovy, Scala, etc.) through the functions framework of Java, as well as spring cloud functions and MICRONAUT.
there are two types of functions in serverless computing: HTTP and background functions. HTTP functions are used to respond to HTTP events, while background functions are used to handle events originating from cloud and GCP services. Java Functions Framework provide API. that can be used to write these functions At the same time, Google added that it also provides a caller to invoke and run these functions in a local or any Java 11 environment.
In addition, users can deploy functions framework in other environments, including cloud run (for running containers), Google kubernetes engine, or any cloud or local environment running Java.
In addition to the functions framework of Java, Google now provides out of the box support for the MICRONAUT framework and spring cloud function projects. Developers can choose the framework to use and use the framework's model to create HTTP and background functions.
More details can be found at:https://developers.googleblog.com/2020/05/java-11-for-cloud-functions.html