Java Frameworks

In addition to Functions Framework for Java, the Micronaut framework, Spring Cloud Function project, and Quarkus now have out-of-the-box support for Cloud Functions. You can create both HTTP and event-driven functions using the frameworks' programming models, including capabilities such as dependency injection.

Spring Cloud Functions

You can write a function using Spring Cloud Functions, and deploy it to Java using the Cloud Functions adapter. For details, see the Spring Cloud documentation. Also see the Spring Cloud Functions sample.

Micronaut

You can write a function using Micronaut, and deploy it to Java using Micronaut's Cloud Functions support. For details, see the Micronaut documentation.

Quarkus

You can write a function using Quarkus, and deploy it to Cloud Functions using Quarkus Cloud Functions support. For details, see the Quarkus documentation.