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