How to display Java objects in the UI

Three quick ways to display your Java objects in the UI

As a developer, there often comes a time when you need to quickly display your data structures in a human-readable format on the screen. During development, debuggers often provide a nice tree-like view of your data objects, which helps visualize the structure. Building something similar manually ...
integrating Lottie animations into a Java web app

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 ...
How to build a custom AI Chatbot in Java

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 ...
Best DateTimePicker components to consider for your next project

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 actions in the Java UI

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 ...
First year as a Vaadin DevRel

Reflections on year one as a Vaadin developer advocate

Wow! That's the most succinct summary of my first year as a Developer Advocate with Vaadin. It truly has been an educational, exhilarating roller coaster, and I’d like to share a few highlights with you. What is a Developer Advocate? For those unfamiliar with the term, Developer Advocacy (sometimes ...
Building Vaadin add-ons with minimal dependencies and Spring Boot setup

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 ...
How to summarize documents in Java with AI

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 ...