Home > News content

Google cloud functions added support for Java 11

via:博客园     time:2020/5/29 9:00:46     readed:698

Googleannounce Support Java 11. on its serverless computing platform Cloud Functions

orgsrc=//img2020.cnblogs.com/news/66372/202005/66372-20200529084018626-786453023.png

Source:SDTimes

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

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments