Remote4J: Monadic Remote Invocation for Java
summary
A small Java library that provides a Remote monad to avoid Java RMI boilerplate by wrapping objects and shipping closures through map and flatMap. It demonstrates using plain Java business objects (a bank account) to perform deposit, withdraw and propagate exceptions across the network, and it batches multiple operations into a single roundtrip without requiring a Remote interface while remaining pure Java.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:49Remote call challenges
- 3:39Stub and server
- 5:52Monadic pattern
- 8:00Business object examples
- 10:43Handling return values
- 12:13Batching and optimizations
- 13:21Project outcomes
related talks
56mModern Java microservices in the Cloud!
31mJKube Remote-Dev: Code with All Your Cloud Microservices... Locally!
49mPractical Eff monad for microservices
49mReactive Spring
59mDecomposing Java applications
46mGet Reactive! Programming, Systems, and Microservices
55mgRPC 101 for Java Developers
52mGoing Reactive with Helidon!
