Questions tagged [jakarta-ee]

Jakarta EE (formerly known as Java Enterprise Edition, Java EE, and J2EE) is a specification defining a collection of Java-based server and client technologies and how they interoperate. This is the master tag. For more specific API questions, please use [jsf], [servlets], [jpa], [cdi], [ejb], etc.

Java Enterprise Edition (Java EE) is a specification defining a collection of Java-based technologies and how they interoperate. Java EE specifies server and client architectures and uses profiles to define technology sets targeted at specific classes of applications. Numerous implementations are available in the form of both commercial products and open source projects. It is also possible to assemble full or partial implementations using constituent components.

From the Java EE 6 specification:

All Java EE profiles share a set of common features, such as naming and resource injection, packaging rules, security requirements, etc. This guarantees a degree of uniformity across all products, and indirectly applications, that fall under the "Java EE platform" umbrella. This also ensures that developers who are familiar with a certain profile, or with the full platform, can move easily to other profiles, avoiding excessive compartmentalization of skills and experience.

Java EE is currently migrating to the Eclipse Foundation under the top-level project EE4J, with the intent of introducing a more open community process with a faster release cycle. Under this process, Java EE has been rebranded as Jakarta EE.


References

Specifications


Official documentation


Official tutorials


Java EE learning resources


Java EE version history


Java EE on Social Media

29216 questions
149
votes
17 answers

Choosing a Java Web Framework now?

we are in the planning stage of migrating a large website which is built on a custom developed mvc framework to a java based web framework which provides built-in support for ajax, rich media content, mashup, templates based layout, validation,…
cosmos
  • 2,396
  • 4
  • 22
  • 25
147
votes
20 answers

web.xml is missing and is set to true

Consider: When I create a simple Maven project in Eclipse I am getting this error: web.xml is missing and is set to true How can I fix this problem?
Yogesh Doke
  • 1,636
  • 2
  • 10
  • 20
147
votes
10 answers

Describe the architecture you use for Java web applications?

Let's share Java based web application architectures! There are lots of different architectures for web applications which are to be implemented using Java. The answers to this question may serve as a library of various web application designs with…
user14070
147
votes
14 answers

Servlet for serving static content

I deploy a webapp on two different containers (Tomcat and Jetty), but their default servlets for serving the static content have a different way of handling the URL structure I want to use (details). I am therefore looking to include a small servlet…
Bruno De Fraine
  • 39,825
  • 8
  • 50
  • 62
138
votes
35 answers

Questions every good Java/Java EE Developer should be able to answer?

I was going through Questions every good .Net developer should be able to answer and was highly impressed with the content and approach of this question, and so in the same spirit, I am asking this question for Java/Java EE Developer. What questions…
Rachel
  • 91,207
  • 112
  • 255
  • 361
138
votes
11 answers

What's the main difference between Java SE and Java EE?

What's the main difference between Java SE and Java EE?
omg
  • 123,990
  • 135
  • 275
  • 341
137
votes
9 answers

Would you, at present date, use JBoss or Glassfish (or another) as Java EE server for a new project?

If you started a new Java EE project today which is to be finished in about a year, which application server would you choose and why? Part of your answer should include your arguments for your decision. And also how much experience you have with…
user14070
134
votes
10 answers

Simplest way to serve static data from outside the application server in a Java web application

I have a Java web application running on Tomcat. I want to load static images that will be shown both on the Web UI and in PDF files generated by the application. Also new images will be added and saved by uploading via the Web UI. It's not a…
Janne
  • 3,447
  • 5
  • 25
  • 34
128
votes
8 answers

Another Repeated column in mapping for entity error

Despite all of the others post, I can't find a solution for this error with GlassFish, on MacOSX, NetBeans 7.2. Here the error : SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method SEVERE: Exception while…
canardman
  • 2,773
  • 6
  • 24
  • 27
123
votes
2 answers

Difference between JSP EL, JSF EL and Unified EL

I would like to know the detailed difference between the Expression Languages (EL). There is JSP EL, JSF EL and Unified EL. I would like to know the history behind the EL and what the latest EL is that is used in Java EE applications. Is it the EL…
Krishna
  • 6,706
  • 15
  • 64
  • 79
123
votes
2 answers

Where to use EJB 3.1 and CDI?

I am making a Java EE based product in which I'm using GlassFish 3 and EJB 3.1. My application has session beans, a scheduler and uses web services. I recently came to know about Apache TomEE, which supports Contexts and Dependency Injection (CDI).…
Dhrumil Shah
  • 1,968
  • 5
  • 20
  • 33
123
votes
10 answers

How to generate JAXB classes from XSD?

I'm a total newbie with XML. I'm doing a Java EE project REST implementation and we return a lot of XML. With this we decided to use JAXB. So far, we manually coded the Models for the XML. But there are already these complex structures we don't know…
Rey Libutan
  • 4,907
  • 7
  • 34
  • 67
122
votes
1 answer

What is the difference between Eclipse for Java (EE) Developers and Eclipse Classic?

What is the difference between Eclipse for Java (EE) Developers and Eclipse Classic? Both are marked as version 3.6. Which one should I use?
Tony the Pony
  • 37,471
  • 63
  • 170
  • 273
121
votes
9 answers

Why is spawning threads in Java EE container discouraged?

One of the first things I've learned about Java EE development is that I shouldn't spawn my own threads inside a Java EE container. But when I come to think about it, I don't know the reason. Can you clearly explain why it is discouraged? I am sure…
LiorH
  • 16,760
  • 15
  • 67
  • 91
120
votes
5 answers

Difference between an application server and a servlet container?

I am trying to understand the difference between a full fledged application server (e.g. Weblogic, JBoss etc.) and a servlet container (Tomcat, Jetty etc.). How do they differ and when to use which? Thanks,
Pushkar
  • 6,990
  • 9
  • 35
  • 57