sch39
ArticlesAboutID

Articles

  • Functional Endpoints: Routes, Manual Validation, and Streaming with SinksOct 2026This article builds a movies-review-service with RouterFunction and HandlerFunction, runs Bean Validation manually because there are no annotated parameters, then broadcasts new reviews via Sinks and Server-Sent Events. Tests prove an invalid body yields 400, an unknown route yields 404, and two reviews sent after the client connects arrive in order on the SSE stream.
© 2026 sch39
PrivacyDisclaimerContactGitHubLinkedInRSSSitemap