Baking a Java EE 8 Micro Pi
summary
A Raspberry Pi cluster runs Payara Micro (~60 MB jar) with Hazelcast clustering and a stock-ticker microservice: an EJB timer fires every second and publishes CDI events annotated @Outbound that Hazelcast delivers to @Inbound listeners on other nodes, a clustered singleton ensures one producer, JSON-B serializes stock objects, JAX-RS SSE broadcaster pushes updates to clients, and MicroProfile Config (including a cluster-backed source) stores runtime endpoints. The live demo fails from power/hardware gremlins but the code is on GitHub and a working demo is on the Payara stand.
AI-written summary · about
chapters (24)
- 0:00Intro
- 7:08Docker
- 11:05Eclipse MicroProfile
- 14:38Java EE 8
- 16:25Java Security
- 19:46Pi Overview
- 23:44Demo
- 26:04Raspberry Pi Cluster
- 28:01Clustered Singletons
- 28:57StockLib
- 30:06StockObject
- 31:33StockTicker
- 34:16WebSocket
- 38:08CDI Event Bus
- 38:50WebSockets
- 40:01JSONP
- 42:36Reactive Client API
- 47:50Server Sent Events
- 50:37Architecture
- 54:29CrossOrigin Requests
- 55:42Future of Java EE
- 57:09Dependencies
- 57:38Config API
- 59:10Example
related talks
02h 44mBaking a Microservice PI(e)
55m10 strategies for developing reliable Jakarta EE & MicroProfile apps for the Cloud
41mThe Slideless Microservices Session
48mFrom Jakarta EE over MicroProfile to Serverless: Interactive Onstage Hacking
52mLightweight Enterprise Java with MicroProfile
51mLightweight Enterprise Java with MicroProfile
45m12-Factor, Cloud Native Enterprise Java Applications
36mPractical Cloud Native Java Development with MicroProfile
