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

29439 questions
68
votes
4 answers

unable to marshal type as an element because it is missing an @XmlRootElement annotation for auto generated classes

I need to validate Class object against my schema in which I have provided regular expression to validate fields for auto generated JAXB classes. When I try to validate my class object I get below error: unable to marshal type "xyz" as an element…
user656213
  • 993
  • 2
  • 8
  • 10
67
votes
12 answers

Hibernate, iBatis, Java EE or other Java ORM tool

We're in the process of planning a large, enterprise application. We're focusing our efforts on evaluating hibernate after experiencing the pains of J2EE. It looks like the new Java EE API is simpler. I've also read some good things about Hibernate…
Kevin Williams
  • 2,588
  • 3
  • 24
  • 25
67
votes
5 answers

Get ServletContext in JAX-RS resource

I'm playing around with JAX-RS, deploying on Tomcat. It's basically: @Path("/hello") @Produces({"text/plain"}) public class Hellohandler { @GET public String hello() { return "Hello World"; } } Is there any way I can get hold…
leeeroy
  • 11,216
  • 17
  • 52
  • 54
65
votes
1 answer

Spring security's SecurityContextHolder: session or request bound?

Is the Userprincipal I retrieve from SecurityContextHolder bound to requests or to sessions? UserPrincipal principal = (UserPrincipal) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); This is the way I access the currently…
chzbrgla
  • 5,158
  • 7
  • 39
  • 56
64
votes
5 answers

Where can I download Java EE 6 Tutorial Examples?

Where can I download Java EE 6 Tutorial Examples? I can't install the Glassfish update tool.
shurik2533
  • 1,770
  • 4
  • 22
  • 41
64
votes
3 answers

CDI: beans.xml, where do I put you?

I am using Weld as CDI implementation. My integration test, that tries to assemble object graph instantiating Weld container works well, when I have empty beans.xml in src/test/java/META-INF/beans.xml. Here is that simple test: public class…
Xorty
  • 18,367
  • 27
  • 104
  • 155
63
votes
3 answers

How to exclude one url from authorization

My web.xml looks like: app /*
hudi
  • 15,555
  • 47
  • 142
  • 246
63
votes
1 answer

What does Exploded Development mean? (In Java)

I came across the term "exploded development" on this site... http://www.zeroturnaround.com/javarebel/support-matrix/ and remembered hearing it before in relation to working with Java web applications. From what I can tell it is something to do…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
62
votes
5 answers

What does WEB-INF stand for in a Java EE web application?

Most of the places on the internet say it stands for WEB INFormation. I rather doubt it. The folder contains executables. Information is not a suitable name for it.
euphoria83
  • 14,768
  • 17
  • 63
  • 73
62
votes
7 answers

Where can I download JSTL jar

Does anyone know because all the places I've tried seem to timeout!
Deano
  • 1,740
  • 4
  • 20
  • 24
62
votes
7 answers

Could not serialize object cause of HibernateProxy

I am getting the following error response from the server. HTTP Status 500 - type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this…
Andreas
  • 2,450
  • 1
  • 18
  • 20
61
votes
1 answer

Where can I find a list of all the reference implementations for Java EE 6?

Do you know if there is a list with all the reference implementation for every component of Java EE 6? I.e. GlassFish is the reference container, Hibernate Validator for validation, etc.
Maxime ARNSTAMM
  • 5,274
  • 10
  • 53
  • 76
61
votes
4 answers

What is 'Facet' in JavaEE?

I wonder not only what is Facet but also what is Facet 'in physical level' (as I understand it's not a separate jar, but what?)? I also wonder how can it affect my application after deploying. I'll explain on real example: I had 2 facets (which were…
Roman
  • 64,384
  • 92
  • 238
  • 332
60
votes
14 answers

UTF-8 text is garbled when form is posted as multipart/form-data

I'm uploading a file to the server. The file upload HTML form has 2 fields: File name - A HTML text box where the user can give a name in any language. File upload - A HTMl 'file' where user can specify a file from disk to upload. When the form is…
Aswin Anand
60
votes
18 answers

How to fix Eclipse validation error "No grammar constraints detected for the document"?

Eclipse 3.5.2 is throwing an XML schema warning message: No grammar constraints (DTD or XML schema) detected for the document. The application.xml file:
cmcginty
  • 113,384
  • 42
  • 163
  • 163