Serverless technologies have one clear goal: enabling developers to focus on delivering value while the platform takes care of all the infrastructural concerns. How does Java fit into this space?
This session will demonstrate how to use the native constructs in the Java standard libraries to follow a functional programming paradigm when implementing the business logic of your applications. Functions will be transparently enhanced by Spring Cloud Function, a framework that enriches standard Java to build data pipelines, including features like type conversion and function composition.
Building functions is not enough. We need a strategy to expose and integrate them with the rest of the system. This presentation will show different options to consume Java functions via platforms like Knative, AWS Lambda, Azure Functions, and GCP Functions.
Events are a fundamental part of serverless applications. You’ll see how to use the CloudEvents standard and how to integrate functions with message brokers like RabbitMQ and Kafka. Spring Cloud Stream provides such functionality without requiring any change to your code.
Functions are usually deployed to platforms with autoscaling and scale-to-zero features. GraalVM will be used to compile Java functions as native executables and provides instant startup, instant peak performance, and reduced memory consumption.