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
80
votes
11 answers

Error: m2e Install In Eclipse

I've been attempting to install Maven Integration for Eclipse and I've received these errors. Cannot complete the install because one or more required items could not be found. Software being installed: m2e - slf4j over logback logging…
Rachel_Franz
  • 803
  • 1
  • 6
  • 10
80
votes
3 answers

EJB 3.1 @LocalBean vs no annotation

I understand the difference between local view, remote view and no-interface view. I just don't understand what is the difference between "no view" (no annotation) and no-interface view. And also why should I annotate my interface with @Local? What…
VaclavDedik
  • 1,960
  • 4
  • 20
  • 27
79
votes
9 answers

Fowler's "Patterns of Enterprise Application Architecture" still relevant?

I'm thinking of buying Martin Fowler's "Patterns of Enterprise Application Architecture". From what I can see it seems like a great book, an architectural book with bias towards enterprise Java -- just what I need. However, in computer years, it is…
Jack Singleton
  • 901
  • 1
  • 6
  • 5
79
votes
5 answers

'Immediate' window for IntelliJ

I'm using IntelliJ 9 and I'm curious if there is any IntelliJ equivalent of the Visual Studio 'immediate' debug window. There is selecting the desired expression in the editor, then ALT-F8 to evaluate the expression, but I'd like to be able to…
Jon Onstott
  • 13,499
  • 16
  • 80
  • 133
77
votes
1 answer

persistence.xml different transaction-type attributes

In the persistence.xml JPA configuration file, you can have a line like: or sometimes:
Germano Massullo
  • 2,572
  • 11
  • 40
  • 55
76
votes
15 answers

I don't have "Dynamic Web Project" option in Eclipse new Project wizard

I have download the Eclipse IDE for Java developer, HELIOS. I click 'File -> New -> Project...', but I only have "General, CVS, Java project, Examples". I would like to be able to create "dynamic web project", why do I not have this option? I…
Mellon
  • 37,586
  • 78
  • 186
  • 264
76
votes
4 answers

Hibernate/JPA ManyToOne vs OneToMany

I am reading currently the documentation of Hibernate regarding the entity associations and I come accross a little difficulty to figure out some things. It has to do in essence with the difference between ManyToOne and OneToMany associations.…
arjacsoh
  • 8,932
  • 28
  • 106
  • 166
73
votes
6 answers

Why do we use web.xml?

What is the use of web.xml and why do we use? wicket.mysticpaste org.apache.wicket.protocol.http.WicketFilter
theJava
  • 14,620
  • 45
  • 131
  • 172
73
votes
7 answers

Inject an EJB into JAX-RS (RESTful service)

I'm trying to inject a Stateless EJB into my JAX-RS webservice via annotations. Unfortunately the EJB is just null and I get a NullPointerException when I try to use it. @Path("book") public class BookResource { @EJB private BookEJB…
Zeck
  • 6,433
  • 21
  • 71
  • 111
72
votes
5 answers

make ArrayList Read only

In Java, how can you make an ArrayList read-only (so that no one can add elements, edit, or delete elements) after initialization?
gmhk
  • 15,598
  • 27
  • 89
  • 112
71
votes
9 answers

Benefit of Polymorphism

When I started to look for the benefits of polymorphism, I found with this question here. But here I was unable to find my answer. Let me tell what I want to find. Here I have some classes: class CoolingMachines{ public void startMachine(){ …
khan
  • 2,664
  • 8
  • 38
  • 64
69
votes
5 answers

Use Enum type as a value parameter for @RolesAllowed-Annotation

I'm developing a Java enterprise application, currently doing Java EE security stuff to restrict access for particular functions to specific users. I configured the application server and everything, and now I'm using the RolesAllowed-annotation to…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
69
votes
12 answers

Session TimeOut in web.xml

I am trying to understand the real purpose of session configuration in Web.xml for session timeout. 60 Now let me tell you about my…
Vineet
  • 861
  • 2
  • 7
  • 6
68
votes
3 answers

Exclude target folder from search results in Eclipse

I was wondering if it's possible to exclude target folder from eclipse quick search : Ctrl+Shift+R If anyone knows how to do that, please advise. Update: I am using Maven 2, and M2E , WTP Eclipse plug-ins.
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
68
votes
6 answers

Recommendations for java captcha libraries

I'm looking for a replacement for JCaptcha, which doesn't seem to be maintained any more, and isn't very good to begin with. The replacement has to integrate nicely with JavaEE webapps. As I can see it, there are three options: JCaptcha - No longer…
skaffman
  • 398,947
  • 96
  • 818
  • 769