Author: Matti Tahvonen
How many users can you host per node with Vaadin Flow? Let’s do the math!
Servlet session size has been a myth for ages. Many Java developers tend to religiously avoid storing anything in session because somebody at Google said that shouldn’t be done. With Vaadin Flow, that is the root of all goodness. The pure Java development model, the productivity, and the simplicity ...
SessionScope vs. VaadinSessionScope - Which one should you use?
Dependency injection is magic, some say. It is magic, especially if you don’t understand what is happening behind the scenes. Vaadin developers have two almost identical scopes available for their beans: SessionScope (from Spring core) and VaadinSessionScope (from vaadin-spring). Picking the wrong ...
Performance profiling: Rendering 90k table cells in 5 different ways
I met a customer at W-JAX who had a performance issue with one of their screens. They were rendering a huge 90-column and around 1000-row TreeGrid on that screen. The screen was a preview for a database query that would ultimately be downloaded as a file for further analysis in another software. ...
How to implement infinite scrolling using Vaadin components
Infinite scrolling is a common UI pattern where more of a large data set is dynamically loaded from the server while users scroll through the page. The approach used by, for example, several social media platforms saves a lot of computing resources both on the client and server side without ...
Jakarta EE is becoming mainstream – Get ready for Spring Boot 3 and Vaadin 24
TL;DR: The Java enterprise application ecosystem at large is making a backward-incompatible leap from the javax.* namespace into jakarta.*. To use next-generation application frameworks like Spring Boot 3 or Jakarta EE 10 compatible application servers, you'll need to use the soon-to-be-released ...
The Java Developer’s Approach to Web Bluetooth
The Web Bluetooth API is one of the interesting new technologies that the Google Chrome team has cooked up that further narrows the gap between web apps and “real” apps. It allows full access to Bluetooth devices straight from the browser. The ability to connect directly to various devices like ...
Hot-deploy your code – keep focus on your work
Time is money. Something that I still don’t get is that many Java developers spend a lot of it (time and money) while waiting to see their latest code changes in action. JVM is known for its great peak performance when serving large numbers of users, but our tooling isn’t by default that well ...
Vaadin apps as native executables using Quarkus Native
JVM is a monster – in a good way. Its architecture and especially the super-optimized just-in-time-compiler (JIT) help Java byte-code apps to run at a performance that makes startups rewrite their entire software when they grow up. But this amazing piece of engineering doesn’t come without a price. ...
Three tips to integrate your Vaadin app into your existing website
Nowadays, it is rare to implement all software with a single technology. There are different teams and requirements, which is a good reason to allow a certain amount of variance in the software toolkit. The same goes for UI frameworks, and that's the way it should be. Hosting static HTML files ...