Serverless Java

Explore all Java content    

Use your Java skills to create serverless applications with frameworks such as Quarkus and GraalVM. These frameworks keep the runtime light, making Java ideal for serverless deployments.

Overview

Java is an ideal language to create serverless functions because of its mature ecosystem and resource optimization. Java enables developers to build an app once and deploy it to popular cloud service providers that scale the workloads quickly and efficiently. When you utilize Quarkus for serverless, can easily integrate with systems and data sources as well as provide flexibility to deploy to multiple clouds cloud providers like Azure, AWS, Google Cloud.

Get started with serverless

Quick start

Develop and deploy Quarkus serverless functions to Red Hat OpenShift using the Quarkus Funqy extension and OpenShift Serverless Functions.

Hands-on lab

Create serverless functions using multiple Quarkus Funqy extensions in this hands-on lab. The workshop also walks through how to deploy the functions to AWS Lambda and OpenShift Serverless.

Interactive tutorial

Build on your serverless Java knowledge and learn on your own schedule with self-paced lessons and courses.

Why Serverless Java?

Java is widely used because it’s fast and has a mature ecosystem. Combine that with its efficient use of resources, and you have an ideal language to create serverless functions. When using Java with Quarkus, you can easily integrate with systems and data sources. You also well as have the flexibility to deploy to multiple cloud platforms such as Azure, AWS, and Google Cloud.

API Manager

Serverless integration

The event-driven and stateless nature of integration applications makes them a perfect fit for serverless. Red Hat OpenShift Serverless with AMQ streams and Camel K provides a high throughput and a reliable foundation for the event mesh. Get started.

API Gateway

Streaming

Build cloud-native stream processing applications to consume streaming events via distributed Kafka topics, IoT edge devices, Debezium change data capture, and Knative Eventing. Get started.

Red Hat Cloud Services

Web apps

Evolve your existing HTTP-based microservices to serverless functions that scale down to zero automatically. Get faster startup and response times with small memory footprints using optimized fast-jar or a native executable.

Red Hat Cloud Services

Multi-cloud

Create a portable Java API to develop a serverless function that you can deploy to multiple serverless platforms, including AWS Lambda, Azure Functions, Google Cloud Platform, and OpenShift Serverless/Knative Events. Try a quickstart.

Red Hat Cloud Services

Developer tools

Red Hat’s developer tools for Java make it easier to create, build, and run Java functions in local development and cloud production environments, using tools like Docker, Ppdman, Quarkus Funqy, kn, odo and more.

Knative for agnostic serverless containers

Create your own cloud-agnostic serverless platform to run Java serverless functions.

Deploying Java serverless functions

OpenShift Serverless

Red Hat OpenShift Serverless is built on Knative and provides fundamental serverless deployment features such as Build, Serving, and Eventing. It also offers orchestration capabilities, including Red Hat OpenShift Service Mesh and cluster monitoring.

AWS Lambda

Deploy functions via the Amazon API Gateway HTTP API or REST API with Amazon Java Runtime. Optimize memory footprint and cold start time using a native executable.

Azure Functions

Create deployable microservices on Azure Functions that contain four HTTP endpoints written with Jakarta RESTful Web Services APIs, Servlet APIs, Reactive Routes, and Funqy HTTP APIs.

Google Cloud Functions

Build, test, and deploy functions to Google Cloud Platform to consume cloud events such as Pub/Sub messages, Cloud Storage events, and Cloud Firestore events.

Get involved

Learn, interact, and contribute to open source serverless projects.

Knative Kubernetes Event-driven Autoscaling (KEDA) Serverless Workflow

Follow us on social media

   Follow @RedHatJava on Twitter