Spring Boot + JavaScript pure Java alternative
If you have plenty of money and time Spring Boot + JavaScript for frontend is a good fit, otherwise have a look at OpenXava.
@Entity @Getter @Setter
@View(members=
"year, number, date;" +
"customer;" +
"details { details }"
)
public class Invoice extends Identifiable {
@Required int year;
@Required int number;
@Required LocalDate date;
@ManyToOne(optional=false)
Customer customer;
@ElementCollection @OrderColumn
@ListProperties("product.number, " +
"product.description, unitPrice, " +
"quantity, amount")
List<InvoiceDetail> details;
@ReadOnly @Money
@Calculation("sum(details.amount) + vat")
BigDecimal total;
}
From a few Java classes to a complete application — no frontend code needed.
Features
Minimal code, minimal cost
With OpenXava you only define the data structure and the business logic in simple Java classes; the user interface and persistence are provided by the framework. An invoicing application is 4 Java classes, not dozens of files spread across controllers, DTOs, frontend components, CSS and SQL. If you code with an AI assistant, less code means fewer tokens: the application is generated faster and at a much lower cost. And since the bottleneck is now reviewing code, not writing it, it also means less to review, fewer bugs and less technical debt.
Spring Boot and Jakarta EE, with modern Java
OpenXava applications are Spring Boot 4.1 applications based on Jakarta EE 11, with Hibernate 7 and Java 17, 21 or 25. You will feel at home: configuration in application.properties, dependencies aligned with Spring Boot and the whole Spring ecosystem at your fingertips. The generated WAR runs directly with java -jar or deploys to a standard Tomcat 11.
AI gets it right the first time
The declarative model of OpenXava, Java with annotations, leaves very little room for mistakes: the AI does not have to decide how to build the user interface or the persistence, it just describes your entities and your logic, always following the same patterns. In addition, OpenXava projects include an AGENTS.md so that agents like Claude, Cursor or Copilot generate correct OpenXava code on the first try. And unlike visual low-code tools, everything is Java code that you version with Git and review in a pull request.
Limitless flexibility
View annotations cover most cases at a high level of abstraction, but you never get stuck. You can define your own actions and controllers for a part of the application, or replace the standard behavior of the whole application. You can create your own editors for any type or property, changing how any part of the user interface is generated. And if you need to, you can generate your own HTML and JavaScript for any module.
Complete applications from day one
Smooth, production-ready web applications: no page reloads, only the necessary HTML fragments are updated. Editable list mode with pagination, sorting, filtering, configurable columns, PDF reports, Excel export and import, card view and charts. Detail mode with tabs, frames, dialogs, editors for references and collections, responsive layout, maps, discussion threads, photo gallery, file upload and dashboards. Available in 14 languages, plus a mobile user interface with XavaPro.
Modern architecture, no frontend to maintain
Under the hood, OpenXava is a state-of-the-art HTML Over The Wire engine: the user interface is generated in pure Java on the server and updated from the browser with fetch(). No React, no Angular, no node_modules, no JavaScript build. A single language, Java, from the database to the screen.
Applications with built-in AI chat
OpenXava applications come with a built-in AI chat that lets users query data, modify records and interact with the application in natural language. Instead of navigating through screens and menus, they simply ask the application for what they need. The chat is part of the OpenXava core, is based on LangChain4J and works alongside the traditional user interface.
Hot code reload
Modify entities, actions, configuration files or i18n messages and see the change instantly, without restarting the application. Hot reload built into the framework and free, with no paid external tools. Perfect for working with AI: the assistant modifies the code and you see the result in the browser within seconds, in a very fast iteration loop.
Create your first OpenXava project
mvn archetype:generate -DarchetypeGroupId=org.openxava -DarchetypeArtifactId=openxava-master-detail-archetype -DarchetypeVersion=RELEASE -DgroupId=com.yourcompany -DartifactId=yourapp -DinteractiveMode=false
cd yourapp
mvn spring-boot:run
Then open http://localhost:8080/yourapp — your application is already running.
Ready to try it?
Get startedLatest on the blog: OpenXava on GitHub — November 9, 2026