Sie können eine Funktion mit Micronaut schreiben und mit der Cloud Run-Funktionsunterstützung von Micronaut in Java bereitstellen. Weitere Informationen finden Sie in der Micronaut-Dokumentation.
Quarkus
Sie können eine Funktion mit Quarkus schreiben und mit der Cloud Run-Funktionsunterstützung von Quarkus in Cloud Run-Funktionen bereitstellen. Weitere Informationen finden Sie in der Quarkus-Dokumentation.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-19 (UTC)."],[[["\u003cp\u003eSeveral Java frameworks, including Micronaut, Spring Cloud Run, and Quarkus, offer built-in support for creating Cloud Run functions.\u003c/p\u003e\n"],["\u003cp\u003eThese frameworks allow developers to build both HTTP and event-driven functions using their established programming models.\u003c/p\u003e\n"],["\u003cp\u003eThe frameworks leverage dependency injection to create a more modular codebase.\u003c/p\u003e\n"],["\u003cp\u003eSpring cloud functions, Micronaut, and Quarkus have detailed documentation to guide developers when building with their framework.\u003c/p\u003e\n"]]],[],null,["# Java Frameworks\n===============\n\nIn addition to [Functions Framework for Java](https://github.com/GoogleCloudPlatform/functions-framework-java), the [Micronaut framework](https://micronaut-projects.github.io/micronaut-gcp/2.0.x/guide/#simpleFunctions), [Spring\nCloud Run function project](https://spring.io/projects/spring-cloud-function), and [Quarkus](https://quarkus.io/guides/gcp-functions) now\nhave out-of-the-box support for Cloud Run functions. You can create both HTTP\nand event-driven functions using the frameworks' programming models, including\ncapabilities such as dependency injection.\n\nSpring Cloud Run functions\n--------------------------\n\nYou can write a function using [Spring Cloud Run functions](https://spring.io/projects/spring-cloud-function#overview), and deploy it to Java using the\nCloud Run functions adapter. For details, see the\n[Spring Cloud documentation](https://docs.spring.io/spring-cloud-function/docs/current/reference/html/spring-cloud-function.html). Also see the [Spring Cloud Run functions sample](https://github.com/spring-cloud/spring-cloud-function/tree/master/spring-cloud-function-samples/function-sample-gcp-http/).\n\nMicronaut\n---------\n\nYou can write a function using [Micronaut](https://micronaut-projects.github.io/micronaut-gcp/2.0.x/guide/#introduction), and deploy it to Java using Micronaut's\nCloud Run functions support. For details, see the\n[Micronaut documentation](https://micronaut-projects.github.io/micronaut-gcp/2.0.x/guide/#cloudFunction).\n\nQuarkus\n-------\n\nYou can write a function using\n[Quarkus](https://quarkus.io/), and deploy it to\nCloud Run functions using Quarkus Cloud Run functions support. For\ndetails, see the [Quarkus documentation](https://quarkus.io/guides/gcp-functions)."]]