Open source Java web app examples built with webforJ, the full-stack Java framework. The examples cover Spring AI, Spring Boot CRUD, data binding, charts, UI components and installable web apps. The UI and the logic live in one language, next to Java libraries you already use, such as Spring Boot and Spring AI. Each app is small, focused on one feature, and ready to copy into your own project. Every project has its own README.
Java apps that call a large language model through Spring AI and show the result in a webforJ UI.
| Project | What it shows | Learn more |
|---|---|---|
| webforj-ghostai | ChatGPT-style chat with streaming markdown, predictive text and MCP | Adding an AI chat feature to a Java app |
| webforj-askdocs | Chat with your own documents through retrieval-augmented generation (RAG) | Spring AI RAG web UI |
| webforj-smartform | Fill a validated support ticket form from an email or file | AI form filling in Java |
| webforj-summarize | Summarize an uploaded document in a few bullet points | Summarize PDFs with AI |
| webforj-invoicereader | Read the fields of an invoice image into a Java record | Extract data from an image |
| webforj-advancedrag | Watch query rewriting, hybrid search and reranking step by step | Advanced RAG in Java |
| webforj-tablesearch | Filter a table by typing a sentence in plain English | Natural language table search |
Apps that load, edit and validate data in webforJ tables and forms.
| Project | What it shows | Learn more |
|---|---|---|
| webforj-crud | Spring Data CRUD with table filtering and table renderers | Full-stack development with webforJ |
| webforj-todo | MVC todo list with Spring Boot and H2 | Building a todo app with MVC |
| webforj-rest | Eager and lazy pagination of REST data in a table | Loading data from REST APIs |
| webforj-bookstore | Book inventory with Spring Security roles and admin views | Building a full-featured demo with Spring Boot |
| webforj-databinding | Data binding and validation over nested Java beans | Nested data binding in webforJ |
Apps that show webforJ components, layouts and themes.
| Project | What it shows | Learn more |
|---|---|---|
| webforj-dashboard | Crypto dashboard with tables, charts and themes | Custom table cells with renderers in webforJ |
| webforj-howdy | A first webforJ app with routing and Google Charts | Howdy README |
| webforj-explorer | Code viewer with a file tree and Monaco editor, styled like VS Code | Explorer README |
| webforj-terminal | Browser terminal with typed commands, history and a Snake game | Terminal README |
| webforj-ui5 | Bring your own design system: a customer app built from SAP UI5 Web Components | UI5 README |
| webforj-tictactoe | Two-player game sharing state through webforJ namespaces | Tic-tac-toe README |
Apps that install on a device like a native app and use browser features such as notifications, badges and geolocation.
| Project | What it shows | Learn more |
|---|---|---|
| webforj-focustracker | Installable PWA with desktop notifications and app badges | Installable web apps with webforJ |
| webforj-location-tracker | Geolocation with in-app, favicon and app icon badges | Location tracker README |
Apps built by the webforJ community.
| Project | What it shows | Learn more |
|---|---|---|
| PingPal | Contest-winning API tester by Rick van Baalen | PingPal README |
- webforJ documentation: components, routing, data binding and Spring integration.
- webforJ blog: tutorials and guides, including the walkthroughs linked above.
- startforJ: generate a new webforJ project to start your own Java web app.
- webforJ on GitHub: the framework source code and issue tracker.