Push Notifications: A real-world example with electricity prices

Web Push Notifications, also known as the Web Push API, are a service provided by browser vendors that enable web apps to display operating system notifications to end users, even when the browser window or installed app is closed. While this feature has been available for desktop browsers and ...
Five tips for optimizing memory usage in your Vaadin application

5 tips for optimizing memory usage in your Vaadin application

In my recent blog post, where I showed you how to estimate or measure the memory consumption of your Java application, I promised to provide some simple tips for optimizing your application’s memory usage. Some of the following tips are Vaadin-specific, while others are applicable to JVM services ...

Adding speech recognition to Vaadin apps

Our previous blog post added wake word detection for a Vaadin application using Picovoice. That is a robust in-browser approach to creating always-listening apps. You might want to use that for full speech recognition, but the draft standard web speech API also provides a way to voice-enable ...
Always-Listening Voice Commands for Vaadin web applications

Always-Listening Voice Commands for Vaadin web applications

Make your Vaadin web application more user-friendly and accessible with always-listening voice commands! With this quick 15-minute tutorial, you can integrate voice commands like "Alexa," "Hey Siri," and "Computer" into your application using the Picovoice Porcupine Wake Word Engine. Create a ...
Building a ChatGPT assistant for your documentation

How to build a ChatGPT assistant for your documentation

ChatGPT can be a helpful tool for development and learning. But only if it knows about the technology you're using. The problem with ChatGPT and many other Large Language Models (LLMs) is that they are only trained on data up to a certain date. Tools like Bing, Bard, and ChatGPT plugins allow ...
How many users can you host per node?

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 ...
Vaadin received the Future workplaces 2023 certification

Vaadin is among the frontrunners as a future workplace!

In today’s world, employers no longer get to pick and choose the people joining their organizations. Today, tomorrow, and in the future, especially in our industry, people and talent choose their employers. Companies increasingly need to understand what is important for employees when they choose ...

Building a Chatbot in Vaadin with OpenAI

Want to build a better version of ChatGPT? Here is how to use OpenAI's Chat completions API to add a robot participant to your Vaadin Flow chat app. Create a new chat app project Using the service at start.vaadin.com, create a new Vaadin application. There is a complete chat example template, but ...

How to add Single-Sign-On to your Vaadin application

According to our recent community survey, nearly 75% of Vaadin users store their users' login credentials in their own database. While this may seem like the best way to keep control of your data and business processes, it can hurt your application's user experience and overall security. ...