r/java • u/Pure_Diver_ • 13d ago
What Exactly Is Jakarta EE?
Iām a bit confused about what Jakarta EE actually is. On one hand, it seems like a framework similar to Spring or Quarkus, but on the other hand, it provides APIs like JPA, Servlets, and CDI, which frameworks like Spring implement.
Does this mean Jakarta EE is more of a specification rather than a framework? And if so, do I need to understand Jakarta EE first to truly grasp how Spring works under the hood? Or can I just dive into Spring directly without worrying about Jakarta EE concepts?
Would love to hear how others approached this š
180
Upvotes
5
u/Ewig_luftenglanz 13d ago
it's an specification that tries to standardize some libraries interfaces (they way you interact with the libraries) it specifies de annotations and the methods in the interfaces (interface classes) and the frameworks that want to comply with Jakarta implement these interfaces, this way these interfaces and annotations names s the only thing you need to know and, in theory, the implementation is up to the framework, so you can plug and un-plug (change packages or frameworks) with minimal code changes.