News for hackers. Stuff that matters.
Re:What's New in Jakarta EE 10? by jackee10 on Wednesday September 14, 2022 @08:59PM (#32845653)
I'm surprised that Jakarta EE (previously Java EE) still exists. We used to heavily use Java EE like maybe 10-12 years back, but it was such a mammoth that running those application servers, developing those EJBs and other things made application development such a heavy duty exercise. The only thing I liked was the Servlets API which was/is well designed and very lean to work with.

For us, it was good that Oracle stopped being invovled with Java EE. That allowed us to convince others in our team to move on to much simpler application development using core Java.

I had stopped paying attention to this Java EE/Jakarta EE area after the unnecessary drama that ensued in the community lead by an ex-Oracle employee.

I'm really surprised that Jakarta EE is still a thing.

Re:What's New in Jakarta EE 10? by hyperman1 on Thursday September 15, 2022 @03:43AM (#32848531)
I happened to reread part of an original EJB book, and with hindsight I am now wondering if EJB = microservice was the intended use. The app server would, on multiple machines, start and stop EJB instances like kubernetes does with node instances. The whole thing tries to hide there is a network in there, automagically connecting everywhere.

Which would make the whole bloat thing moot and the whole EJB stack comically misused.

But look at it as an EJB providing an interface to the outside world. Forget about making almost every class an EJB. Then the 2 styles start to look quite similar, especially if 'the network is the computer'.

There were of course still plenty of bad design decisions. Every vendor has its own RMI variant, requiring drivers instead of a standardized http+json. 4 files for the interfacevis iver the top. The EJB database interface was bad.

Re:What's New in Jakarta EE 10? by kaba0 on Thursday September 15, 2022 @05:20AM (#32849215)
Yeah, I did say that Java EE is kubernetes before it was cool :D

Actually, in a way it is sort of sad how unfamiliar we are of the “previous generation’s” solutions. It’s not like load balancing, zero downtime, RPC and scaling are new things.

Re:What's New in Jakarta EE 10? by jackee10 on Wednesday September 14, 2022 @09:40PM (#32845964)
After writing this comment and reading some others, I was reminded of CDI - the dependency injection blackbox. It was advertised as the next best thing to allowing developers to focus only on their business logic and let the CDI runtime inject the dependencies. That turned out to be giant mess. Couldn't understand what a piece of code was doing statically and you had to run the code, attach a debugger to find out what dependency got injected and what its implementation looks like. And of course, things behaved differently because some other dependency implementation got picked up and injected instead of the one that you had debugged in dev environment.

Simple code turned into a complete dependency injection spagetti just beacuse CDI was a specification and advertised as the next best thing to come from the Java EE ecosystem.

I am really glad we moved away from that area.

Re:What's New in Jakarta EE 10? by pjmlp on Thursday September 15, 2022 @01:58AM (#32847683)
Right, because Spring source code isn't full of AOP annotations. /s