Vaadin Blog
How to create a user registration form in pure Java
Learn how to create a responsive signup form with error handling and cross-field validation written in pure Java. Last updated September 2024. In this guide, we create a standard registration form with error handling and cross-field validation. This signup form is developed entirely in pure Java ...
Using AI to summarize documents in Java
In my previous article, I showed how to use an LLM to make sentiment analysis, draft responses to customer feedback, and create a chat-with-documents experience that uses your content. In this blog post, I continue exploring business use cases for AI by summarizing an uploaded document. I use ...
Vaadin in WordPress: Best of both worlds?
While exploring embedding Vaadin, I stumbled upon an interesting article about using web components in WordPress: Using Web Components in WordPress is Easier Than You Think. This got me thinking that running Vaadin in WordPress should be a breeze! After all, Vaadin apps are web components, and you ...
Building a Vaadin & Gemini AI chatbot: Context management and UI customization
Welcome to part two of our series on building an AI-powered chatbot using Vaadin and Google's Gemini AI 1.5 model. In this post, we’ll enhance the basic Gemini AI chatbot from part one with advanced features like context management, a customized UI with Vaadin components, and an improved user ...
Reading electronic competition card data with Web Serial API
In this blog, we'll cover how to integrate hardware devices like USB card readers with Java web apps using the Web Serial API in a Vaadin app. Many developers rule out web apps immediately when device integration is involved. But in many cases, it is for the wrong reasons. Technologies have ...
Consuming GraphQL APIs from Java applications
Updated for 2024. GraphQL has become a common alternative to REST as a way to provide data to modern web applications. They both solve the same problem, but GraphQL comes with a different set of trade-offs. It is designed to answer challenges pertinent to larger organizations, such as inter-team ...
Comparing Java GUI frameworks: Vaadin, JavaFX, and Swing
Choosing Java GUI framework is crucial for building responsive and robust applications. Whether you're working with Swing, JavaFX, or exploring modern frameworks like Vaadin Flow, your choice will significantly impact your project's performance and user experience. Learn how to automate the ...
The status of Java Swing - And why consider modernization
Java Swing has been supporting enterprise applications for decades. However, Swing is now in maintenance mode and no longer reflects the state of the art in application development. But does that mean that Java Swing is deprecated, and what are the alternatives for organizations that use Swing? ...
Building an OpenAI-powered chatbot in Java
Updated in August 2024. Want to build a better version of ChatGPT? Learn how to integrate OpenAI's Chat Completions API to add an intelligent chatbot to your Vaadin Flow chat application. Create a new chat app with OpenAI chatbot integration Using the service at start.vaadin.com, create a new ...