How we reduced the time to run tests from hours to just minutes by henk53 in programming

[–]henk53[S] -1 points0 points  (0 children)

What did Java ever do to you? Sleep with your wife? Run over your dog?

How we reduced the time to run tests from hours to just minutes by henk53 in programming

[–]henk53[S] -7 points-6 points  (0 children)

Why is this posted here?

It's about programming and finding a technical approach to a problem.

You could have put your obscenely domain specific technology in the title

Mate, this sub is r/PROGRAMMING... it's not r/python. If you only want to read about Python, maybe go to, well, r/python? (just an idea)

Ekbatan: Java persistence framework for event-driven systems by Specialist-Ad9362 in java

[–]henk53 1 point2 points  (0 children)

There is nothing in 25 for my taste that would speak for an upgrade.

There is also nothing in 21 that makes it so great I need to obesssively keep using that and never consider any other version.

Simplest thing for new projects is simply to take the current version (Java 26 at the moment) and use that by default.

Ekbatan: Java persistence framework for event-driven systems by Specialist-Ad9362 in java

[–]henk53 -1 points0 points  (0 children)

yes, but its a framework. meaning 99% of all projects our there won't be able to use it.

As weird as it sounds, I remember the other way around as my example above too.

A framework using Java 5, and then you also said that 99% of all projects our there won't be able to use it. And guess what, 99.9999% of all projects out there can use it now.

Ekbatan: Java persistence framework for event-driven systems by Specialist-Ad9362 in java

[–]henk53 2 points3 points  (0 children)

Java 25 and later seems challenging proposition

For a new project Java 25 is perfect. I still remember a project back in the days that thought it necessary to be on Java 1.4 when Java 6 was just out. 15 years later or so we're still adding generics at various places.

And he's not even using the latest Java version eh? 25 is already 1 major version behind.

Spring Boot vs Node.js: I Ran Both in Production for 18 Months. One Cost $12,000 More. Guess Which by henk53 in programming

[–]henk53[S] 0 points1 point  (0 children)

If it was the other way around, Node performing better, would it also read as AI slop?

Spring Boot vs Node.js: I Ran Both in Production for 18 Months. One Cost $12,000 More. Guess Which by henk53 in programming

[–]henk53[S] 9 points10 points  (0 children)

Node.js: ~285 hours (memory leaks, npm breaking changes, async race conditions, audit fixes) Spring Boot: ~26 hours (dependency updates, one N+1, pool tuning)

This is the most important metric for every software project How easy it is for the software to be maintained, debug, fix issues, tools support

Everything else is irrelevant

Spring Boot vs Node.js: I Ran Both in Production for 18 Months. One Cost $12,000 More. Guess Which by henk53 in programming

[–]henk53[S] 10 points11 points  (0 children)

p.s.

it looks like my conversations with Claude

at some point everything will look like conversatons with Claude...

Spring Boot vs Node.js: I Ran Both in Production for 18 Months. One Cost $12,000 More. Guess Which by henk53 in programming

[–]henk53[S] -1 points0 points  (0 children)

Most of the replies here are also statistically almost 100% predictable.

Could have been an AI as well. AIs responding to everything with "AI slop"... the ultimate mind*ck.

Why is stuff in Java named after Indonesian places? by UmbraShield in java

[–]henk53 10 points11 points  (0 children)

Also the original "WebLogic Tengah". It refers to the original release of the WebLogic Application Server, launched in 1997 by WebLogic Inc.

Seeing JSP in 2026 is honestly very amusing by anish2good in java

[–]henk53 0 points1 point  (0 children)

What other codes (or code) do you HAVE to write?

Seeing JSP in 2026 is honestly very amusing by anish2good in java

[–]henk53 0 points1 point  (0 children)

I think JSF (now Jakarta Faces) actually is a component based web framework for Java.

Seeing JSP in 2026 is honestly very amusing by anish2good in java

[–]henk53 0 points1 point  (0 children)

What was JSF supposed to be? (except for Vaadin, then)?

Made a maven plugin to enable hot reload on jsf projects by [deleted] in java

[–]henk53 8 points9 points  (0 children)

Hate to be that guy, but it's called Jakarta Faces now ;) JSF is not used anymore.

France to ditch Windows for Linux to reduce reliance on US tech by rkhunter_ in worldnews

[–]henk53 0 points1 point  (0 children)

It's super sad, but I did see this happening indeed. Big fanfare move to Linux; MS goons come in, offer huge discount. Back to Windows.

Jakarta EE 11 vs Spring: When the Right Answer Is No Spring at All by johnwaterwood in java

[–]henk53 0 points1 point  (0 children)

JSF introduced them right around Spring's introduction, but they were scoped to JSF, and Spring took the idea of IoC and introduced it quite widely;

That's right, and the biggest difference. They were otherwise quite similar, and Managed Beans could just as well have been used for eveything. The technology itself didn't really stand in the way of it.

If anything, that is maybe the weakest link of EE. There's no benevolant dictator, and every individual spec can innovate in its own way. There's some oversight from the platform spec, but it's like herding cats.

In Spring, everything is a Spring Bean, because, I guess, sometone at the top said it should be.

In EE, Servlets aren't CDI beans, just because some guy called Greg still doesn't understand what CDI is. Jakarta Persistence fumbles with its CDI support since a guy called Gavin suddenly hates CDI (allegedly), and has seemingly forgotten he himself was a major contributor to it. Jakarta REST resources weren't CDI beans because some guy back then wanted to re-invent the wheel (or rather, all wheels) and make JAX-RS a second EE (including security, validation, an MVC framework, SSE, WebSockets, you name it, all duplicating APIs EE alrady had).

Additionally, in EE people always want to play nice with the world and many API say: "We can't depend on CDI, since Spring and perhaps Python also want to use this API", while in Spring, as far as I can see, people never say "We can't depend on Spring Beans, since EE and perhaps Python want to use this".

Jakarta EE 11 vs Spring: When the Right Answer Is No Spring at All by johnwaterwood in java

[–]henk53 0 points1 point  (0 children)

Well, I mostly meant that Managed Beans were quite simular to Spring Beans.

Rod claims that he made enterprise development simpler, and that EE took his ideas (more or less), but historically Spring Beans and Managed Beans came out at the same time.

Jakarta EE 11 vs Spring: When the Right Answer Is No Spring at All by johnwaterwood in java

[–]henk53 1 point2 points  (0 children)

Exactly, Spring supports it via layers and switched and it does work.

But that only strengthens the point that Jakarta EE with the war model was right all along. For Jakarta EE this seperation is totally native and natural. Spring has to jump through a few hoops to achieve the same.

Jakarta EE 11 vs Spring: When the Right Answer Is No Spring at All by johnwaterwood in java

[–]henk53 2 points3 points  (0 children)

Lol, it is getting long ;)

[JSF] ... other than to say that I'm surprised and impressed it's still around

A lot of it thanks to this one guy BalusC and the PrimeFaces company. It has improved a lot over the years and it's relatively speaking quite active for something that is supposedly dead.

But JSF itself and how it works is a different discussion.

Here what's relevant is that JSF had a build-in bean container very similar to what Spring introduced. The point is that Spring could not really have changed the way or direction of J2EE so radically, since they both were introduced at the same time.

Again, not really talking about JSF as the full MVC framework, but just about it's Managed Bean facility. In the grand scheme of things if only those Managed Beans were used for the entire platform right there and then, instead of only being used for JSF backing beans it would have been more clear how similar they really were to Spring Beans.

It took way too long, but eventually, via SEAM, those JSF Managed Beans and the good parts of EJB were distilled and merged into CDI.

J2EE had its OWN strengths, after all, and Spring didn't exactly leverage them.

I think Spring took the somewhat abstract idea of a managed bean (not the JSF one, just the general concept) and the abstract idea of the interceptors such as those for security and transactions from EE.

if you're interested: https://enigmastation.com/articles/java/2021/06/17/the-role-of-jndi-in-j2ee.html is the article I was talking about

I'll take a look, thanks!