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
852
votes
15 answers

What is the difference between JSF, Servlet and JSP?

I have some questions. These are : How are JSP and Servlet related to each other? Is JSP some kind of Servlet? How are JSP and JSF related to each other? Is JSF some kind of Pre-Build UI based JSP like ASP.NET-MVC?
Cheung
  • 14,537
  • 17
  • 60
  • 90
699
votes
14 answers

How to upload files to server using JSP/Servlet?

How can I upload files to server using JSP/Servlet? I tried this:
However, I only get the…
Thang Pham
  • 35,825
  • 73
  • 192
  • 279
680
votes
22 answers

What's the difference between JPA and Hibernate?

I understand that JPA 2 is a specification and Hibernate is a tool for ORM. Also, I understand that Hibernate has more features than JPA 2. But from a practical point of view, what really is the difference? I have experience using iBatis and now…
Anthony
  • 27,490
  • 32
  • 129
  • 238
592
votes
9 answers

.war vs .ear file

What is the difference between a .war and .ear file?
ria
  • 7,644
  • 10
  • 36
  • 46
338
votes
5 answers

Why use @PostConstruct?

In a managed bean, @PostConstruct is called after the regular Java object constructor. Why would I use @PostConstruct to initialize by bean, instead of the regular constructor itself?
Jan
  • 8,569
  • 11
  • 44
  • 52
326
votes
14 answers

Difference between Java SE/EE/ME?

Which one should I install when I want to start learning Java? I'm going to start with some basics, so I will write simple programs that create files, directories, edit XML files and so on, nothing too complex for now. I guess Java SE (Standard…
Richard Knop
  • 73,317
  • 142
  • 374
  • 539
325
votes
8 answers

Why does JPA have a @Transient annotation?

Java has the transientkeyword. Why does JPA have @Transient instead of simply using the already existing java keyword?
deamon
  • 78,414
  • 98
  • 279
  • 415
321
votes
12 answers

What is Java Servlet?

I read many articles to understand java servlet but I did not succeed. Can you please give brief introduction of java servlets (in easy language). Like what is servlet? What are the advantges? And all that. I can't understand the difference…
hardik
  • 7,975
  • 7
  • 26
  • 48
264
votes
12 answers

Eclipse add Tomcat 7 blank server name

I was trying to add Tomcat 7 in my Eclipse in Ubuntu. When I click "Add new server" in Eclipse and select "Tomcat v7.0 Server", the field "Server Name" is blank and I cannot type in anything in that textbox as shown below: What I did before is I…
tonga
  • 10,669
  • 23
  • 69
  • 93
230
votes
11 answers

Maven dependency for Servlet 3.0 API?

How can I tell Maven 2 to load the Servlet 3.0 API? I tried: javax.servlet servlet-api 3.0 provided I use…
deamon
  • 78,414
  • 98
  • 279
  • 415
227
votes
6 answers

Where to place and how to read configuration resource files in servlet based application?

In my web application I have to send email to set of predefined users like finance@xyz.com, so I wish to add that to a .properties file and access it when required. Is this a correct procedure, if so then where should I place this file? I am using…
sansknwoledge
  • 4,067
  • 9
  • 34
  • 56
224
votes
9 answers

What is Java EE?

I realize that literally it translates to Java Enterprise Edition. But what I'm asking is what does this really mean? When a company requires Java EE experience, what are they really asking for? Experience with EJBs? Experience with Java web apps? …
shsteimer
  • 26,798
  • 29
  • 74
  • 95
221
votes
10 answers

Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with javax.activation package java.corba with javax.activity, javax.rmi, javax.rmi.CORBA, and org.omg.* packages java.transaction with…
Nicolai Parlog
  • 36,673
  • 16
  • 109
  • 236
218
votes
1 answer

Java 11 package javax.xml.bind does not exist

I'm trying to deserialize XML data into a Java content tree using JAXB, validating the XML data as it is unmarshalled: try { JAXBContext context = JAXBContext.newInstance("com.acme.foo"); Unmarshaller unmarshaller =…
Boris
  • 16,422
  • 10
  • 42
  • 63
217
votes
9 answers

Java / Jakarta EE web development, where do I start and what skills do I need?

I want to learn, at least at a basic level, how to build Java web applications (coming from a .NET background). I would like to be able to build, deploy a simple CMS type application from the ground up. What exactly do I need to learn? Tomcat seems…
mrblah
  • 88,033
  • 134
  • 292
  • 404
1
2 3
99 100