Overslaan naar hoofdinhoud

36 berichten getagd met "AI"

Artificial intelligence and AI-assisted development with webforJ.

Bekijk alle tags

Cursor Spring Boot UI: Let the Assistant Write Your Screens in Java

· 6 minuten lezen
Eric Handtke
Software Developer

cover image

You have a Spring Boot backend with services that work, and now it needs screens. Asking an AI assistant to write them is tempting, but a plain prompt in Cursor leaves the assistant guessing at your front end. For a Cursor Spring Boot UI that holds up, give the assistant the real webforJ API and let it write the views in Java. The webforJ AI plugin does that, and a short test confirms the result.

Claude Code Java Web App: Build the Whole Thing, Screens Included

· 8 minuten lezen
Eric Handtke
Software Developer

cover image

You ask your coding agent for a Java screen and get back something that looks right. Then you build it. A method does not exist, a constructor takes other arguments, and the button you asked for has never been clicked by anything. The agent is fast. What you lack is a way to know the result is correct before you read every line.

A Claude Code Java web app does not have to work that way. In webforJ, the full-stack Java framework for business web apps, Claude Code builds the whole app, screens included, and the work gets checked on three fronts: the real API, a scaffolded project, and a test that returns pass or fail without a browser.

The AI coding agent verification loop for Java

· 9 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

You ask a coding agent for a new screen and it comes back fast, confident, and half wrong. A method that does not exist, a CSS token it made up, a build that fails on the second line, and a button that nobody ever clicked. The model is rarely the problem. The missing piece is verification.

The AI coding agent verification loop is the set of checks that turns a guess into code you can trust: write with known workflows, check every API against the real docs, compile every edit, and run a test on every change. webforJ, the full-stack Java framework, closes that whole loop with Agent Skills, an MCP server, the craftforJ Assistant and the TestBed, and one plugin installs the first two for Claude Code, Copilot, Gemini, and Codex. Cursor and other clients use manual setup. Because of that loop, webforJ is the most AI-ready framework in the Java ecosystem.

Best Java framework for AI coding: why webforJ fits

· 7 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

Hand an AI assistant a Java web project and ask for a new screen. Whether you get working code or an afternoon of fixes depends less on the model than on the framework: how many languages the screen spans, how many ways there are to do the same thing, and whether the assistant can check the real APIs or has to remember them.

The best Java framework for AI coding is the one that leaves the assistant the least room to be wrong. In webforJ the whole UI is plain Java with typed components, so mistakes fail at compile time, and an official AI plugin connects Claude Code, Copilot, Cursor, Gemini and Codex to the real webforJ docs and APIs.

AI tools for Java migration: pick by the job, not the brand

· 11 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

You have a Java app that has been in production for years, a deadline that keeps moving, and a long list of AI tools that all claim they can help. Comparing them by brand does not get you far, because a migration is not one task. It is five or six different jobs, and each one needs a different kind of help.

The best AI tools for Java migration are coding assistants such as Claude Code, GitHub Copilot, Cursor, Gemini CLI and Codex, matched to the job at hand and grounded in the real documentation of the framework you are moving to. That last part decides most of the outcome. With webforJ, the full-stack Java framework, one AI plugin gives those assistants the real docs, project scaffolding and ready-made workflows, so the code they write for your new screens targets APIs that exist.

AI form filling in Java: Spring AI structured output

· 11 minuten lezen
Hyyan Abo Fakher
Lead Software Architect

cover image

To fill a form with AI in Java, let the user paste free text or upload a file, ask Spring AI for a typed bean with ChatClient and .entity(...), and load that bean into a webforJ form with BindingContext.read. The same Jakarta validation rules that guard manual entry then run on what the model produced, and the user reviews and edits the fields before anything is saved.

This post builds that flow end to end in a webforJ view. The model proposes values, webforJ validates them, and the person stays in control. The complete app, SmartForm, is on GitHub and runs with your own Gemini API key.

Spring AI RAG web UI: chat with your documents in Java

· 11 minuten lezen
Hyyan Abo Fakher
Lead Software Architect

cover image

The fastest way to build a Spring AI RAG web UI is to write the whole thing in Java with webforJ. The Upload component takes the files, Spring AI reads, splits and embeds them into a VectorStore, a RetrievalAugmentationAdvisor on a ChatClient grounds every answer in the retrieved chunks, and a MarkdownViewer renders the streamed answer. There is no REST layer, no JavaScript and no separate frontend project.

This guide builds a chat-with-your-documents app that way. It is two classes: a Spring service that owns the knowledge base and a webforJ view that talks to it. The complete app, AskDocs, is on GitHub and runs with your own Gemini API key.

AI coding in Java: quality control for generated code

· 8 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

An AI assistant can write a Java view in seconds. The slow part comes after: reading the diff, wondering whether that method really exists, and clicking through the screen to see if it behaves. If every change needs that, the speed is gone.

AI coding in Java stays fast when the checks are automatic. webforJ gives you three: a source of truth the assistant reads before it writes, a workflow it has to follow, and tests that fail when it guesses wrong. The tests run in plain JUnit, with no browser, so quality control takes seconds.

Summarize PDFs with AI in Java using Spring AI and webforJ

· 9 minuten lezen
Matthew Hawkins
Software Developer

cover image

You can summarize PDFs with AI in Java by letting the user upload the file in a webforJ view, extracting the text with Spring AI's Tika reader, and sending that text to a chat model. The summary runs on a background thread, so the page stays responsive while the model works. You will build the whole process in three Java files, with no REST controller and no JavaScript. The complete app, Summarize, is on GitHub and runs with your own Gemini API key.

What's new in version 26.03?

· 11 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

webforJ 26.03 is live! The headline is the automation layer, which lets an AI agent use a webforJ app the way a person does: it reads the page, finds what it needs, and acts, with exactly the permissions of the user it works for. The same layer powers TestBed, new browserless testing built for the way AI coding assistants work. Alongside them, craftforJ picks up component deletion and system-wide undo and redo, BBjShip brings webforJ deployment to BBjServices for BBj developers, an updated DWC Design Kit brings Design System 2.0 to Figma, and important security fixes make this an upgrade we recommend for every app. See the highlights below, and as always, the GitHub release overview has the complete picture.

Build an AI agent in Java that uses your web app like a user

· 10 minuten lezen
Hyyan Abo Fakher
Lead Software Architect

cover image

To build an AI agent in Java that does real work in a web app, give it tools that use the app the way a person does. With Spring AI running the model and webforJ's automation layer as the tools, the agent reads the screen as text, finds a field by its label, types into it, picks from a list, and saves the form. The user watches every step happen in their own browser, and the agent can do nothing the user couldn't.

This is a different thing from a chatbot that answers questions, or from retrieval over your documents. The agent takes a goal such as "ship every pending order for Acme" and works through it in several steps, on the same screens the user works on. This post walks through how such an agent is put together in a Spring Boot app with webforJ.

AI Java web framework: how webforJ is built for AI work

· 10 minuten lezen
webforJ
Do it all in Java. The full-stack Java framework for business web apps.

cover image

webforJ, the full-stack Java framework, is the AI Java web framework that covers both sides of the work. While you build, AI coding assistants get the real webforJ API through a plugin, an agent inside your running app writes Java that compiles before you see it, and browserless tests give every change a fast pass or fail. In the app you ship, AI hosts can open your views with MCP Apps, agents can use your UI with exactly the user's permissions, and your own AI features stream into Java components.

All of it is Java, checked by the compiler, and rendered from the server. That is what makes AI output in a webforJ app easy to verify.