user registration form in 100% java

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 ...
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 ...
Using VS Code with Java and Maven projects

How to use Visual Studio Code with Java and Maven projects

Last updated September 2024. Java is one of many languages supported by Visual Studio Code (VS Code). Like most things in VS Code, Java support is extension-based. You may need several extensions, depending on the project type and stack you are working with. You can find more detail in Java in ...
How to run your Vaadin application in WordPress

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 ...
Learn how to build a Vaadin & Gemini AI chatbot.

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 ...
Learn how to use Web Serial API for device integration in Java web apps

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 ...
StepZen and Vaadin logo

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 ...
Compare JavaFX and Swing and other GUI frameworks

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 ...
Introduction to Java Swing and why modernize.

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