Overslaan naar hoofdinhoud

55 berichten getagd met "Insights"

Comparisons, migration paths, and framework decisions for Java teams.

Bekijk alle tags

Java to JavaScript compiler alternative: no transpile step

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

cover image

You want your team to stay in Java, but the screen has to run in a browser, and the browser runs JavaScript. One answer is a compiler that turns your Java into JavaScript. The other is to keep your Java where it already runs and send the browser only what it needs to draw the screen. webforJ, the full-stack Java framework, takes the second path and is a Java to JavaScript compiler alternative for business web apps: your code runs on the JVM, so there is no compile-to-JavaScript step and no restricted subset of Java.

Alternatives to htmx: server-driven UI without templates

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

cover image

You have a Spring Boot app, a few server-rendered pages and a growing list of things that should react to the user without a full reload. Someone suggested htmx, and it is a fair suggestion. Then you count what each interaction needs, and the template files and fragment endpoints start to add up.

If you are weighing an htmx alternative for Spring Boot, the short answer is webforJ, the full-stack Java framework. You build each screen as a Java class made of components, handle their events in Java and inject your Spring services into the class. There are no templates and no fragment endpoints to write, so the interactive UI for Spring Boot comes without JavaScript.

Java framework for enterprise web applications: a checklist

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

cover image

Picking a Java framework for a business app is a different decision from picking one for a side project. The app will outlive its first team, pass a security review, sit next to existing Spring services, and get upgraded for years.

If you are shortlisting a Java framework for enterprise web applications, webforJ, the full-stack Java framework, is the one we would put at the top of that list: it lets a team build the whole app in Java, with route security, Spring Boot, data binding, theming and automated upgrades already part of the framework. The checklist below shows the questions to ask and what webforJ answers to each.

A Java framework like React: components, state, routing

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

cover image

You know React's ideas well: build small components, compose them into screens, keep state next to the UI that uses it, and move between views without the page reloading. Now your team works in Java and you want those same ideas without writing a second app in JavaScript. A Java framework like React exists, and it is webforJ, the full-stack Java framework. You write components as Java classes, handle events with listeners, route URLs to components, and get a single page app in the browser, all from one Java codebase.

The one real difference is where the code runs. In webforJ the UI lives on the server in Java and the browser renders it. The rest of this post maps what you know from React onto webforJ.

Build internal tools in Java: a framework decision guide

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

cover image

Someone on the team needs a screen where support can look up an account, fix a record, and see an audit trail. The data is already in your Java services, and the request is small. It still turns into a project once you add a second language, a build pipeline and an API layer just to draw a table.

If you want to build internal tools in Java, pick a framework that lets the backend team write the UI in the same language, in the same project, against the same services. That's what webforJ does, as a full-stack Java framework. A view is a Java class, a table reads from your repository, a form binds to your bean, and route annotations decide who gets in.

Simple Java web development: one language, no frontend stack

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

cover image

Your team knows Java, the services are done, and now the app needs screens. Before anyone writes a button, the plan already includes a JavaScript framework, a package manager, a bundler, and a REST layer whose only job is to feed your own UI. It feels like a lot of machinery for a form and a table.

Simple Java web development skips that machinery. With webforJ, a full-stack Java framework, you write the UI, the events and the business logic in Java, in one project, so you can build a web app in pure Java without a second codebase or a JavaScript build pipeline.

Jmix alternative: plain Java and Spring Boot with webforJ

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

cover image

You are evaluating a business app platform for your next internal tool, or you run on a platform such as CUBA and are planning your next move. Either way the same question shows up in the planning meeting: do we adopt a platform with its own model for entities, screens and tooling, or do we write a normal Spring Boot app and add a UI to it?

If you want a Jmix alternative that stays plain Java, webforJ, the full-stack Java framework, is that choice. You build views in Java that plug into your own Spring Boot app, use your own Spring Data repositories, pick your own security setup, and keep a project layout you could explain to any Spring developer on day one.

Rapid application development in Java without low-code

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

cover image

Your team has a backlog of internal tools, a deadline measured in weeks, and a quiet worry about what happens when a drag-and-drop platform meets the first requirement it can't express. Rapid development in Java for the web doesn't need a proprietary builder. With webforJ you generate a working project in a minute, assemble screens from ready components, and keep every line as normal Java that your IDE, your build, and your reviewers already understand.

The webforJ learning curve: hiring and onboarding

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

cover image

You are weighing a Java web UI framework, and the question right after "does it do what we need" is "who will build with it?" A framework that few people list on a CV can look like a hiring risk, and a smaller community can look like a support risk.

Hiring for webforJ, the full-stack Java framework, means hiring Java developers. The webforJ learning curve is the curve of Java itself: the UI is written in Java classes, wired with listeners, built with Maven, debugged in a standard debugger, and tested with JUnit. A Swing or Spring developer already knows most of what a first webforJ view needs, so you do not need candidates with webforJ on their CV and no front-end specialist has to join the team to ship a screen.

A Java reactive UI framework without reactive streams

· 8 minuten lezen
Matthew Hawkins
Software Developer

cover image

You change a value somewhere in your Java code, and you want the screen to follow without hand-writing refresh calls for every label and every table. That is what most developers mean when they search for a Java reactive UI framework, and it rarely has anything to do with reactive streams.

webforJ, the full-stack Java framework, is a Java reactive UI framework in the sense that matters for screens: the UI reacts to events, to bound data and to repository commits, and background work can push changes to the page. It does this with event listeners and data binding, not with a streams library, and this post shows how those pieces fit together.

Swing to JavaScript communication with webforJ and Webswing

· 9 minuten lezen
Eric Handtke
Software Developer

cover image

Webswing gets a Swing app into a browser tab in an afternoon. Then someone asks for the obvious next thing: when the user picks a customer in the Swing window, the web page around it should show that customer's orders. And the web page can't see anything that happens inside the Swing window.

That is the real problem with Swing to JavaScript communication. The fix is a message channel: the Swing app announces what happened as a named action, the web side reacts, and it can send actions back. In webforJ that channel is one component, and both ends are plain Java.

Replace React with Java: moving a front end to webforJ

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

cover image

Many Java teams run a React or Angular front end that only exists to show what their Spring backend already knows. Every feature gets built twice, once on each side of a REST layer, by two sets of people with two toolchains.

If you want to replace React with Java, or move from Angular to a Java UI, you can do it one screen at a time. Each screen becomes a webforJ view that calls your Spring services directly, and the front end and its REST layer fold into one Spring Boot project.