Questions tagged [java-ee-8]

Use this tag for questions relating specifically to Java Enterprise Edition 8.

Java Enterprise Edition 8 (JEE8) is a specification defining a collection of Java-based technologies and how they interoperate. JEE8 incorporates features of previous versions and adds:

  • Java Servlet 4.0 API with HTTP/2 support
  • Enhanced JSON support including a new JSON binding API
  • A new REST Reactive Client API
  • Asynchronous CDI Events
  • A new portable Security API
  • Server-Sent Events support (Client & Server-side)
  • Support for Java SE 8 new capabilities (e.g. Date & Time API, Streams API, annotations enhancements)

See Overview below for a list of updated and new JSRs.

Numerous implementations are available in the form of both commercial products and open source projects. Glassfish 5 is the reference implementation for JEE8.

Information

This tag is specific for the Java EE 8 version. See the tag for general Java EE questions.

Useful links

467 questions
0
votes
1 answer

JCA Activation Specification without rar

I use liberty application server and want to know , can create custom activation specification (inbound-resourceAdapter) without rar module ? I want to implement that in war application not ear .
mah454
  • 1,571
  • 15
  • 38
0
votes
1 answer

RESTEasy JAX-RS Nullpointer when I try to reach my Controller class from another package

I'm setting up a Maven project (in Java EE) based on a basic BCE-Pattern. Within the "Boundary"-Package i started to specify several JAX-RS Apis using RESTeasy. If I send a POST, GET or whatever to this APIs they should delegate the request to the…
0
votes
0 answers

Changing package name causes errors even tho done correctly

Hello, I have been modifying a project i imported from github just for personal use, A web application in java ee using eclipse. So i wanted to change the parent package name to something like 'com' instead of 'johnny' using the refractor>rename…
billbylo
  • 13
  • 3
0
votes
1 answer

Java Development Kit (JDK) is required rather than a JRE

I'm trying to integrate Glassfish 5 server in Eclipse IDE 2020-06 but i got this issue Java Development Kit (JDK) is required rather than a JRE this is a screenshot But openJDK9 is installed
0
votes
1 answer

Maven Servlet Dependency For Wildfly 19.1.0

I have build a small "Dynamic Web Project" in Eclipse, and have successfully used it to package a .WAR file and deploy it to a Wildfly 19.1.0 server. In order to do this I used Eclipse to add the Wildfly server's context to the project. Now I am…
Agricola
  • 572
  • 1
  • 8
  • 20
0
votes
0 answers

When I want to run my j2ee+maven+spring-boot+mysql project on idea, there comes an error

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-06-23 22:33:08.783 ERROR 14944 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :…
0
votes
1 answer

Secured Servlet using @EmbeddedIdentityStoreDefinition, works with TomEE Plume, not in WildFly20

I am trying to implement Java EE 8 security with very simple example codes. This is the servlet that is secured: @WebServlet(name = "/InitiateRead", urlPatterns =…
0
votes
1 answer

Unrecognized field ... not marked as ignorable, EE8 / Jakarta EE

I'm using Wildfly 18 with Resteasy. By passing an unknown property on body of my JSON API, I get this: Unrecognized field "foo" (class xxx), not marked as ignorable I know this is a jackson provider issue, on past projects I solved with this…
Fabrizio Stellato
  • 1,727
  • 21
  • 52
0
votes
0 answers

Background task Tomcat JEE

I am desperately trying to execute a background task in a JEE 8 application running on Tomcat 7. I want the user to send a request (through a Jersey REST API) and to receive immediately a response whilst the server process a long task. I've read…
Florent Descroix
  • 579
  • 4
  • 13
0
votes
1 answer

How to implement a generic DAO with the same Entity Manager in java EE 8

I'm a begginer in Java EE and in JPA. In the past I have been creating a simple web-project, and I have implemented a generci DAO pattern without CDI, handling the Enitiry Manager.I know that diffrent EntityManager can use the same persistent…
psilos
  • 101
  • 1
  • 11
0
votes
1 answer

Unable to visualize pdf file after submitting via FilePond component in React to a servlet(backend)

I have a front React application with an upload document form via FilePond library and as backend I use Java to save the pdf document to my local files. I am a little bit stucked beacause I have the pdf file and I can see the content(in…
ana maria
  • 353
  • 1
  • 4
  • 22
0
votes
0 answers

Java EE Critical error during deployment: java.lang.NullPointerException

I'm trying to deploy a JEE8 application to a local GlassFish server. The application consists of two modules: one for EJB and one for JSF. I'm using IntelliJ and followed instructions for creating an EAR file, which includes an ejb.jar and jsf.war…
mcooling
  • 107
  • 2
  • 14
0
votes
1 answer

Unable to execute Arquillian test

I am trying to use Arquillian to conduct integration tests of my web app. I am very new to Arquillian and have spent considerable time to figure out how to use Arquillian. There are number of tutorials that are old and I am not sure if there are…
RXP
  • 517
  • 4
  • 18
0
votes
0 answers

JSF 2.3 Websockets throw a NullPointerException when using PrimeFaces MenuItem with ajax=true

I get a NullPointerException when navigating on a PrimeFaces menu item with ajax = true when JSF 2.3 websockets are present in the pages. Below is the exception: java.lang.NullPointerException at…
zobbo
  • 117
  • 2
  • 13
0
votes
0 answers

How to get called when glassfish finished starting web services in current EAR deployment

I need a way to get called when the start of the current EAR services are done. Specifically web services. The @PostConstruct annotation is usefull, but too early. A commented pseudo server.log should show the problem: // All JNDI bindings get…
Jan
  • 1,032
  • 11
  • 26