7 ms·
What's New in Jakarta EE 10?
- latchkey 4y agoAs the co-founder of Apache Jakarta and first hearing about this Jakarta EE thing just now, which also seems Java (tm) related, it seems like a weird overlap in naming.
- mdaniel 4y agoAccording to Wikipedia, it happened in 2018 and was (of course) due to Oracle's trademark on Java™: https://en.wikipedia.org/wiki/Jakarta_EE#cite_note-7 https://en.wikipedia.org/wiki/Jakarta_EE#cite_note-7 relevant: https://xkcd.com/1053/ https://xkcd.com/1053/
- latchkey 4y agoOh interesting, thanks for this! It is no wonder that they couldn't come up with a better name [0]. For anyone else wondering, we came up with that name because it was the name of the conference room that we met in at the Sun campus to discuss creating Apache Jakarta, because Sun was upset we were originally using Apache Java. As a 'gift' of appreciation for making a halfway decent servlet engine at the time (Apache JServ), they also gave us Apache Ant and... Tomcat. The rest is history... I've also been long out of the Java ecosystem, so that xkcd is especially relevant. Let's go shopping! [0] https://twitter.com/codinghorror/status/506010907021828096 https://twitter.com/codinghorror/status/506010907021828096 (this keeps coming up for me recently for some reason)
- kaba0 4y agoWell, let’s add that the project didn’t want to continue with the “standard committee”-like model, so they quit on their own accord, not due to some malicious intent on Oracle’s part. But as a now outside entity it would indeed wouldn’t make sense to use the standard lib’s packages, so a change was necessary.
- bitwize 4y agoJakarta EE is Java EE. When Oracle bought Java they cut Java EE loose because Spring and Spring Boot were eating the world and Oracle didn't want to be in the business of maintaining the losing Java enterprise framework. But they couldn't call it Java EE anymore because Oracle holds the Java trademark.
- deleted 4y ago[deleted]
- pcdavid 4y agoRelevant: https://jakarta.ee/about/faq/#collapse-1 https://jakarta.ee/about/faq/#collapse-1
- throw_m239339 4y agoAre you the co-creator of Jakarta Tomcat?
- latchkey 4y agoNo. Tomcat was created by James Davidson, who worked for Sun, and then heavily modified once it was over in Apache Jakarta. I did a few contributions to the codebase (I wrote the first class reloader implementation), but was super busy with many other codebases at that point that I had started/created... Turbine, Velocity, Multiple Commons projects, etc.
- rawoke083600 4y agoSure this post is probably not for me, but as to feedback, i will start that page with a paragraph or sentence or two of what Jakarta is ?? Something something java ?
- bee_rider 4y agoI disagree. A "what's new in <X>" post shouldn't describe what <X> is. Most of the people interested in updates on <X> will already know what it is, so adding that information to every article would be redundant. They helpfully link to the jakarta.ee site which has an about page.
- exabrial 4y agoJakarta EE is all of the Java EE spec that are now open sourced. Right now in Java-land, the big development ecosystems are Quarkus, Spring Framework, and Jakarata EE. Jakarta EE's big advantage is CDI, which is a very nice dependency injection container and allows applications to be broken down and composed into easily testable modules. Quarkus partially implements CDI and has its own set of APIs. Spring has their own DI container that is showing it's age, but is still quite popular.
- zokier 4y agoQuarkus is "just" a Microprofile implementation. And Microprofile is largely evolution of JavaEE. Spring might have been a breath of fresh air in the JavaEE 6-7 days but I feel it has been since been leapfrogged by JavaEE/MP
- gavinray 4y agoQuarkus is Jakarta EE compatible (MicroProfile), for the subset of Java/Jakarta EE that it implements. That's largely the appeal. The most recent release of JEE has a new "Core" profile, which is stripped down to bare minimum for AoT-compilation and small memory footprint and implements CDI 4.0 Lite (based on Quarkus' "ARC" implementation) https://jakarta.ee/specifications/coreprofile/10/ https://jakarta.ee/specifications/coreprofile/10/
- throw_m239339 4y ago
- exabrial 4y agoOne aspect I don't want to see go away is "configuration goes in the app container"... basically, if you have a datasource, define it at the app container level, then the application just requests it by name, not caring what it's actually connecting to. Happy to see acceleration of these API definitions. One thing I miss is having a "big picture" plan for all of EE APIs. It'd be really nice to have _Everything_ be defined as a CDI portable extension for instance.
- ysleepy 4y agoI'm the opposite, can't wait for app containers to go away. Probably have their place but it's giving up control to some stateful black box. I always embed a jetty or something and do my own hikaricp.
- pjmlp 4y agoThey are so cool that now there are startups reinventing them with WebAssembly.
- TedDoesntTalk 4y ago> the new version of Jakarta Concurrency is that it has moved! It is now included in Web Profile distributions of Jakarta EE. Why?
- whartung 4y agoJakarta EE has several profiles, each focusing on different subsets of the overall EE platform. Web Profile is one of those subsets that focuses on the Web aspects of Jakarta EE. For example, Tomcat is more of a Web Profile stack (I don't know it Tomcat officially supports it or not) compared to the full boat EE containers like Glassfish, Websphere, etc. Jakarta Concurrency (which is essentially portable access to container managed thread pools and other similar resources) was originally part of the full EE specification. Now they've moved it to the Web Profile so it can be used in those containers that do not support the entirety of Jakarta EE.
- TedDoesntTalk 4y agoI understand but thought concurrency was larger than “web component “. I guess in the context of EE, it is not and I’m confusing it with java.util.concurrent
- hsbauauvhabzb 4y agoEvery time I look at the Java ecosystem I feel lost. Versioning, package management, naming and ‘EE’ all seem to be ‘in the know’ things that keep outsiders outside.
- doctor_eval 4y agoWell, I know what all that stuff means, and I’m so very, very happy not to be part of that ecosystem any more.
- nerdponx 4y agoI feel this way too. Clojure looks awesome. Kotlin looks nice. People tell me that even Java is pretty good now. There are a lot of JVM libraries and people say that the JVM itself is an engineering marvel. But... the ecosystem is incredibly intimidating and there is no obvious starting point for a beginner. I know that with Clojure you can probably just stick to "Clojure stuff" like deps.edn, but that's also not really why people choose Clojure in the first place, nor does it seem like a sensible path to competency. And I say this as a Python professional and a Common Lisp and Scheme hobbyist. My personal tolerance for chaotic and/or offbeat tooling ecosystems is high.
- kjeetgill 4y agoHmmm, I guess I find it straight forward enough. How can I help? They've simplified it a ton lately. There's no real JRE vs JDK seperation any more. The Java Language / JVM versions are the same. Version 19 is just out and they release a version every 6 months now. Any other languages like Clojure or Kotlin will have their own language versions and might specify a range of Java versions they work with. You can think of Jakarta EE as just a version of some library that won't be relevant to you unless you use it. Like versions of react or angular or something.
- mypalmike 4y ago> there is no obvious starting point for a beginner I think maybe some of this perception comes from the days when Java EE (Enterprise Edition) was very common. I worked on Java apps for many years and was fortunate to mostly avoid projects centered on Java EE. For getting started with current Java development, you can download OpenJDK AND IntelliJ IDE. Then Google search for a tutorial on what you want to build (a command line tool is a good place to start, then maybe a web app if you're familiar with that domain). Start with just the Java language and then add Kotlin, Clojure, etc later when you are more familiar with the ecosystem - these languages add incidental complexity that you'll want to avoid as a beginner. I'd recommend Gradle for building. You'll see Maven mentioned. Avoid the tool but understand that "Maven repo" and similar terms refer to artifact repositories for downloading 3rd party libraries.
- jackee10 4y agoI'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.
- jackee10 4y agoAfter 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.
- pjmlp 4y agoRight, because Spring source code isn't full of AOP annotations. /s
- hyperman1 4y agoI 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.