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
8
votes
2 answers

Can we call service() method from destroy() method in Servlet?

This is one of the interview questions I faced a few days ago: Is it possible to call the service() method from destroy()? Thanks in advance.
JDGuide
  • 6,239
  • 12
  • 46
  • 64
8
votes
1 answer

What is a web component in Java EE?

What does term 'web component' mean in Java EE? Give me some examples from different Java EE technologies (jsp, jsf, ejb..) UPD: can I say that every custom tag in jsp is a web component and that tags in jsf are web components? or only servlets and…
Roman
  • 64,384
  • 92
  • 238
  • 332
8
votes
3 answers

Injecting an EJB into a dynamic mapped servlet

I have a filter where I am dinamically mapping servlet classes: @Override public void init( FilterConfig filterConfig ) throws ServletException { servletContext = filterConfig.getServletContext(); File directory =…
Fagner Brack
  • 2,365
  • 4
  • 33
  • 69
8
votes
3 answers

Sharing Session object between different web applications

Okay this is the problem I have a Java application running on top of Apache Tomcat & I have this other application too with its own war file running on the same server. Now I want to authenticate user once & pass that session to the other…
Asad Khan
  • 11,469
  • 13
  • 44
  • 59
8
votes
2 answers

Suggestions for JMS Queue and Topic naming conventions

For larger JMS deployments what are your best practice suggestions for naming conventions? Currently we're following the suggestions in the Sun Developer Network Blueprints. For example: jms/[Queue|Topic] I am concerned about scaling…
BenM
  • 4,056
  • 3
  • 24
  • 26
8
votes
4 answers

How web application request is handled by multiple servers by maintaing the same user session.?

Want to know how a request is processed by multiple servers maintaining the same user session. For example: We log-in to IRCTC and try to book a ticket. During payment IRCTC lists out multiple bank options with radio buttons for online transaction.…
anand kumar
  • 91
  • 2
  • 7
8
votes
4 answers

RestEasy Jax-RS in Jboss 7.1 doesn't work

I'm trying to deploy a simple web application under JBoss AS 7.1 which comes bundled with resteasy. According to the documentation all that is needed is (at bare minimum) is an empty web.xml, a class with annotated @ApplicationPath("/mypath") and…
user2221005
  • 100
  • 1
  • 4
  • 7
8
votes
3 answers

How to access JNDI data source defined in weblogic 10.3.6

I have created a JNDI data-source using my weblogic console but I am not able to access the object from my web application. Below are the details In weblogic 10.3.6, I have given the JNDI name for datasource as : jdbc/mydb To get DB connection from…
chaitanya
  • 701
  • 4
  • 14
  • 26
8
votes
4 answers

Send/Receive Email from within Web Application?

I have an Order Management (Web) Application (in Java/Java EE). The application users want to Send Receive email communication to Customers who placed the Order, from within the Web-Application. The Email Trail must be associated with the…
Jasper
  • 8,440
  • 31
  • 92
  • 133
8
votes
1 answer

how to get parameters defined in jasper file?

I need to get the parameters defined in a jasper file so I can generate inputs depending of the type of these parameters to fill the report. I'm working with jasperreports-5.0.0
Ouadie
  • 13,005
  • 4
  • 52
  • 62
8
votes
4 answers

Using IntelliJ Path Variables, how to set system properties in Tomcat server Run Configuration?

In Eclipse you could set the -D options to include {} variables that were defined elsewhere within your IDE settings. IntelliJ would seem to provide this feature with Path Variables. However, if you follow their Help documents, you're supposed to…
Joel Wilson
  • 169
  • 1
  • 1
  • 7
8
votes
1 answer

Why do I list security roles in web.xml when they're in jdbcRealm database?

I run JavaEE 6 web application on Glassfish 3. I use JAAS with jdbcRealm and default principal to role mapping. In my database I have table for mapping usernames to their roles: username | role ----------+------- john | admin mary |…
karolkpl
  • 2,189
  • 10
  • 39
  • 60
8
votes
4 answers

JAX-RS Cookies in response not showing in browser

I am using Rest response to set cookies on the client side. But I cannot see the cookie being set when I open up 'Resources' in Chrome. But interestingly, when I go to chrome settings and check all cookies, I find the cookies I am setting. Again,…
user1655719
8
votes
10 answers

Why do most people say that data services and the database are the most important parts of a system?

Why do most people say that data services and the database are the most important parts of a system? From what I have seen, it is the front end development: GUI, WEBUI, XAML that is the most important. Certainly more important than the middle and…
ariso
  • 1,433
  • 6
  • 21
  • 35
8
votes
3 answers

Store an integer for bitwise compare in a permission model using JPA 2

I am using a permission model where I have a table user_permissions. This table will hold one or more columns with a certain bigint. I will use the bits of each decimal number to compare with certain permission rules (the bit location will be a…
Fagner Brack
  • 2,365
  • 4
  • 33
  • 69