Sven Ruppert
@svenruppert.com
720 followers
110 following
67 posts
Java and Security by day, Bushcrafting by night
Posts
Media
Videos
Starter Packs
Sven Ruppert
@svenruppert.com
· Sep 5
Real-Time in Focus: Server-Sent Events in Core Java without Frameworks
Chapter 1 – Introduction 1.1 Motivation: Real-time communication without polling In modern applications, it is often necessary to provide new information to the client as quickly as possible. Classic polling, i.e. regularly querying a REST endpoint, is inefficient: it generates unnecessary network traffic and puts a load on both server and client, as requests continue even when there is no new data.
svenruppert.com
Sven Ruppert
@svenruppert.com
· Sep 4
Core Java – Flow.Processor
Reactive streams address a fundamental problem of modern systems: Producers (sensors, services, user events) deliver data at an unpredictable rate, while consumers (persistence, UI, analytics) can only process data at a limited speed. Without a flow control model , backlogs, storage pressure, and ultimately outages occur. With Java, java.util.concurrent.Flow provides a minimalist API that standardises this problem: Publisher → Processor → Subscriber,
svenruppert.com
Sven Ruppert
@svenruppert.com
· Sep 3
Signal via SSE, data via REST – a Vaadin demonstration in Core Java
1. Introduction 1.1 Motivation: Event-driven updating without polling In classic web applications, the pull principle still dominates: Clients repeatedly make requests to the server to detect changes. This polling is simple, but it leads to unnecessary load on the server and network side, especially if the data stock changes only sporadically. Server-Sent Events (SSE) is a standardised procedure that allows the server to signal changes to connected clients actively.
svenruppert.com
Sven Ruppert
@svenruppert.com
· Aug 15
Part III – WebUI with Vaadin Flow for the URL Shortener
1. Introduction and objectives The first two parts of this series established the theoretical and practical foundations of a URL shortener in pure Java. We discussed the semantic classification of …
svenruppert.com
Sven Ruppert
@svenruppert.com
· Jun 24
Connecting REST Services with Vaadin Flow in Core Java
1. Introduction Why REST integration in Vaadin applications should not be an afterthought In modern web applications, communication with external services is no longer a special function, but an in…
svenruppert.com
Sven Ruppert
@svenruppert.com
· Jun 10
Short links, clear architecture – A URL shortener in Core Java
A URL shortener seems harmless – but if implemented incorrectly, it opens the door to phishing, enumeration, and data leakage. In this first part, I’ll explore the theoretical and security-re…
svenruppert.com
Sven Ruppert
@svenruppert.com
· May 20
Creating a simple file upload/download application with Vaadin Flow
Vaadin Flow is a robust framework for building modern web applications in Java, where all UI logic is implemented on the server side. In this blog post, we’ll make a simple file management ap…
svenruppert.com
Sven Ruppert
@svenruppert.com
· Apr 11
Open-hearted bytecode: Java Instrumentation API
What is the Java Instrumentation API? The Java Instrumentation API is part of the java.lang.instrument package and allows you to change or analyse class bytecode at runtime. It is particularly inte…
svenruppert.com
Sven Ruppert
@svenruppert.com
· Apr 8
Synchronous in Chaos: How Parallel Collectors Bring Order to Java Streams
Sometimes it’s not enough for something to work – it has to work under load. In modern applications that process large amounts of data, the Streams API in Java provides developers with …
svenruppert.com
Sven Ruppert
@svenruppert.com
· Apr 3
Java Cryptography Architecture (JCA) – An Overview
The Java Cryptography Architecture (JCA) is an essential framework within the Java platform that provides developers with a flexible and extensible interface for cryptographic operations. It is a c…
svenruppert.com
Sven Ruppert
@svenruppert.com
· Apr 2
Rethinking Java Streams: Gatherer for more control and parallelism
Since version 8, Java has introduced an elegant, functional approach to processing data sets with the Streams API. The terminal operation collect(…) represents the bridge from the stream to a…
svenruppert.com