News for hackers. Stuff that matters.
Re:Growing the Java Language by winrid on Tuesday September 02, 2025 @02:13AM (#45099663)
Quarkus and Vaadin is pretty productive.
Re:Growing the Java Language by p2detar on Tuesday September 02, 2025 @04:08AM (#45100318)
[delayed]
Re:Growing the Java Language by fredu81 on Tuesday September 02, 2025 @04:43AM (#45100520)
The vast majority of people don't pay anything for Vaadin as it's Apache 2 licensed. Out of curiosity: Why do you feel you have to spend on it – is it some part of the tooling or are the support alternatives the reason? (I work for the company behind Vaadin, thus honestly curious).
Re:Growing the Java Language by p2detar on Tuesday September 02, 2025 @05:45AM (#45100875)
AFAIR, it was the "Grid Pro" and "Dashboard" features that were needed, but they were out of budget for our infant phase of the product and we went with React. It was a long time ago anyway, I last worked with Vaadin 7. I will however say, that I really enjoyed working with it at that time.
Re:Growing the Java Language by sebak82 on Tuesday September 02, 2025 @07:19AM (#45101539)
If you used React back then, what do you miss from the Vaadin world and what was easier in React in comparison ?

Have you tried one of the latest versions?

Disclaimer: I work for Vaadin.

Re:Growing the Java Language by winrid on Tuesday September 02, 2025 @11:48AM (#45104670)
I can't imagine seriously showing RAP to a CEO and saying we're using that.

I don't pay for Vaadin, you don't need to unless you want the extra components, and even if you do it's affordable, much cheaper than building the same system in React.

Re:Growing the Java Language by kitd on Tuesday September 02, 2025 @05:12AM (#45100703)
Quarkus is just a little too much like magic for me. Too many annotations hides what's going on underneath, which makes me feel a bit uncomfortable. But I'll accept that's probably just me.

Vertx on the other hand, which it is built on and which itself builds on Netty, is excellent, and very performant for typical backend services. It now has support for virtual threads too.

Re:Growing the Java Language by vram22 on Tuesday September 02, 2025 @06:34AM (#45101212)
>Vertx on the other hand, which it is built on and which itself builds on Netty

What does the highlighted part above mean?

I know what Netty is, but did not understand that phrase above,

Re:Growing the Java Language by kitd on Tuesday September 02, 2025 @08:23AM (#45102177)
Vertx uses Netty as the event loop handler for concurrent IO. Vertx adds a simplified asynchronous API on top of Netty (whose API can be pretty complicated), making backend services that need to handle large numbers of concurrent connections easy to implement. HTH
Re:Growing the Java Language by winrid on Tuesday September 02, 2025 @11:45AM (#45104631)
Please DO NOT build a large application on raw Vertx. Quarkus gives you things like auto generated openapi specs etc.

Quarkus is just compile time stuff around vertx, and you write simple synchronous code. Again, DO NOT use vertx directly for building APIs. It'd be like using just expressjs and writing your api specs manually... in 2025...

Re:Growing the Java Language by kitd on Wednesday September 03, 2025 @02:59AM (#45113001)
No capitals needed. I have written many backend services around raw Vertx very successfully. It's simple, well documented and predictable, mainly because everything is done in code.

Deviating from Quarkus's standard behaviour was comparatively difficult, either tracking down the correct configuration properties and what to change them to, or which api to implement and override and what it needs to do.

I prefer to develop OpenAPI specs separately from the code too, mainly because it's a joint effort with other teams. Vertx can incorporate them easily.

Re:Growing the Java Language by winrid on Wednesday September 03, 2025 @07:16PM (#45121405)
If you're generating the vertx route handlers from the spec then I guess that's fine.
Re:Growing the Java Language by sgt on Friday September 05, 2025 @07:29AM (#45137351)
I gave Vertx a chance a few years back and while it worked, it's not great for building services on, unless your needs are extreme scale. And in the latter case, you might be better off with a language like Go. It's very async/reactive and a bit of magic hides behind those nice builder patterns.

My advice: If you are just building a regular service that doesn't need to scale (and 90% of apps do not need Twitter scale), just stick with sync.

Re:Growing the Java Language by mands on Tuesday September 02, 2025 @05:06PM (#45109062)
Modern Java (21+), Spring Boot backend, and Vaadin Hilla (https://vaadin.com/hilla) frontend is a great startup combo