Category:
Integrating Lottie web animations for better UX in Java apps
When building useful applications, things like animations are typically the last thing to think about. They all seem like extra work away from solving the “real problem.” Yet, we all know that they enhance the user experience by making interactions smoother and more intuitive. I’ve always been ...
Calling ChatGPT and OpenAI APIs in Spring Boot with Java
This article will guide you on integrating OpenAI APIs, such as ChatGPT, in your Spring Boot application. We will cover moderation, embedding, and chat completion requests. It is a part of our Building an AI chatbot in Java series. Prerequisites This tutorial assumes you already have a Spring Boot ...
Building a custom AI agent in Java: A hands-on guide
Large Language Models (LLMs) are amazing tools. We can ask them to do things for us in plain language, and they use their vast knowledge of the world to deliver an answer in an instant. But when it comes to building AI-powered applications, there's a big problem: LLMs are generic, while our ...
6 DateTimePicker components for your web apps
Inputting dates and times in web applications is a common task—whether users select a birthdate, book travel, or schedule an appointment. A reliable DateTimePicker component can drastically enhance the user experience by minimizing errors and simplifying input. There are many components designed ...
Handling slow backend actions in Vaadin apps
Vaadin’s business-app-oriented web frameworks come with a helpful productivity feature that automatically indicates to users when a backend call takes unusually long. While this feature is incredibly useful for developers to understand and manage performance, and is sufficient for most backend ...
Building Vaadin add-ons with minimal dependencies and Spring Boot setup
In this blog, we'll show you how to minimize dependencies in Vaadin add-ons, use Spring Boot for easy development and testing, and set up a clean Maven project for compatibility with various tech stacks. It's crucial to keep the number of transitive dependencies in your add-ons to a minimum. This ...
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 ...
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 ...