Functions: Implement Once, Execute Anywhere!
summary
Shows concrete claim: Java 8 Supplier Function Consumer code is written once and invoked everywhere with Spring Cloud Function handling type conversion, reactive vs imperative adaptation, and composition via a pipe string. Demonstrations use a function catalog lookup, the RabbitMQ binder turning the app into a streaming consumer and producer, a REST endpoint via the web starter, and a deployed AWS Lambda jar — all working end to end. Use if you want small pure-business logic units that need multi-runtime deployment.
AI-written summary · about
chapters (12)
- 0:00Introduction and agenda
- 1:58Understanding the scope
- 5:20Spring Cloud Function value
- 7:24Live coding: basics
- 13:51Imperative to reactive
- 16:30Type conversion deep dive
- 22:00Function composition
- 28:50Write once run anywhere
- 34:02Functions as a REST endpoint
- 37:11Stream processing with Rabbit
- 45:30Serverless and summary
- 49:44Q&A and closing remarks
related talks
55mThe Road to Serverless: Functions as Applications
55mSpring, Functions, Serverless and You
55mServerless Spring
48mEmbrace the Func - How Far has Functional Programming Come in Java?
51mServerless Spring
24mShaping Tomorrow's Technology: Navigating Cloud-Native, Serverless, and Polyglot Programming
46mDesigning Functional Programs
51mg ∘ f patterns
