How I benchmarked SwingBridge by counting Swing users

Vaadin SwingBridge is a solution that allows you to run Swing apps in the web browser just by adding your app jars in the Vaadin skeleton app. I got a task to measure the memory consumption since we were getting many requests from customers related to that. So, I set out to build a test harness that could be used to measure SwingBridge and compared that to a popular alternative, Webswing.

This blog post is a detailed worklog, aimed to help developers to test their Swing apps memory usage with SwingBridge and to avoid some of the pitfalls we found during the process. The short version is that we were able to fit 38 users in a 4 GB box, all running the JOSM application and performing a predetermined task.

Subscribe to our newsletter

Be the first to learn about new Vaadin resources and tips

VaadinBench: AI coding agents benchmarked on real Vaadin tasks — Vaadin reindeer symbol in ASCII art on blue background

VaadinBench: Which AI coding tools work with Vaadin? We started measuring.

Every few weeks, a new model or agentic coding tool claims it writes better code than the last one. Those numbers are useful signals about general code writing, but for a Java shop building or maintaining real Vaadin applications, the relevant questions are narrower: can an agent wire Vaadin's ...

Vaadin 25 Training: New Videos, Exercises & Certification Now Available

We have new training videos, exercises, and certifications for Vaadin 25. What took us so long? I'm glad you asked. Why updating training content is hard Updating training materials to a new major Vaadin version has always been a big task. Ideally, when a new release ships, we'd be ready to train ...

How many Swing users fit on one server?

We spent the last SwingBridge release on improving memory usage, so that more users fit on one server. I wanted a number for it, not just my own opinion about how we built it. SwingBridge runs your Swing application on a server and shows it in a browser, so a user opens a link instead of installing ...

Oracle Forms to Java: A Two-Week AI Migration Experiment

My first job was to write a new module in an Oracle Forms 6 application. A couple of years later, the company wanted the entire application migrated to Java, and since I was a young developer who knew both Oracle Forms and Java, the migration landed on me. I did it by hand and it took a while. In ...
How IVE Scales EcoTransIT World with Full-Stack Java | Vaadin

4.3 billion calculations, one Java stack: How IVE scales with Vaadin

EcoTransIT World calculates freight transport emissions for around 340 companies worldwide, processing roughly 4.3 billion shipment calculations a year across road, rail, sea, air, and inland waterways. Behind EcoTransIT World is IVE mbH, a German engineering firm of around 50 people. The reason a ...
Agentic development in the enterprise: speed without losing control

Agentic development in the enterprise

Agentic software development is trending, and it's easy to see why: you can generate working software in a matter of minutes just by typing a few phrases! Speculation is running wild. Are SaaS giants about to become history when anyone can allegedly vibe-code their own Slack or Jira? No silver ...

Spring AI 2.0 in Practice: Adding LLM Features to a Java Web App

Spring AI is Spring's official application framework for AI engineering. It brings the ecosystem's core principles (portability, modularity, dependency injection) to building LLM-powered features in Java. Combined with a UI framework like Vaadin, it turns an LLM API key into a working product ...

How qubIT manages 4,000+ screens with just 15 developers

With a team that has ranged from 10 to 15 developers over the years, qubIT manages a platform with more than 4,000 UI screens, thousands of domain entities, and a shared codebase used by Portugal's largest universities. Built with Vaadin under a Java-first approach, the team uses compile-time ...
Virsion Studio

Building Secure, AI-Driven Web Apps at Startup Speed: The Virsion Story

For a startup, the gap between a visionary idea and a market-ready product is often bridged by two things: speed and security. This was the exact challenge facing Virsion, a tech startup focused on democratizing generative AI for small-to-medium-sized institutions. When founders Giovanni and ...