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
12
votes
3 answers

Configuring GlassFish 4 domain directory in Netbeans / Maven / Cargo plugin

I am trying to deploy the first example (hello1) from the Java 7/8 EE tutorial* using Netbeans and I am running into problems. The project compiles without problems but when deploying it gives an error: Failed to execute goal…
DeltaLima
  • 5,864
  • 1
  • 16
  • 32
9
votes
2 answers

Why is HTTPServletRequest injectable via CDI but HTTPServletResponse isn't?

This question took off because I read Arjan Tijms blogpost about JSF 2.3. There, he list all JSF artifacts which can be injected via CDI. Although HttpServletRequest is mentioned, HttpServletResponse doesn't appear on the said list which I didn't…
Diggi55
  • 174
  • 8
8
votes
2 answers

Glassfish 5 creates empty temporary copy of EAR file on deploy

I'm trying to deploy an EAR file to a Glassfish 5 server. The exact version is GlassFish Server Open Source Edition 5.0 (build 25). The deploy is done via the admin GUI and lists one additional library that has been placed in the domain's applib…
G_H
  • 11,739
  • 3
  • 38
  • 82
6
votes
3 answers

Could not initialize class org.apache.logging.log4j.core.LoggerContex

Due to the recent vulnerability found on Log4j, We were tasked to move to version >= 2.16.0. Initially, my project was using 1.2.17 After adding the necessary dependency, and making the necessary changes, on initiating a request I…
Emmajiugo
  • 205
  • 1
  • 3
  • 11
6
votes
1 answer

When will Weblogic Server support Java EE 8?

Other than a reference here to CY2018.. I'm finding it eerily difficult to figure out when (or if) a Weblogic Server release will support Java EE 8?
johnm
  • 7,327
  • 1
  • 24
  • 35
6
votes
1 answer

How to get specific error instead of Internal Server Error?

I am getting Internal Server Error on postman even though I am throwing a custom exception from my code exception. I want to see the exception of having a valid error message and error code, what I am throwing. It will be a great help if anyone of…
Mansingh Kachhi
  • 87
  • 2
  • 2
  • 9
5
votes
2 answers

Liberty activate @MessageDriven

I want to activate custom message listener on liberty application server . this is my code : @MessageDriven(name = "Receiver") public class Receiver implements InboundListener { @Override public void receiveMessage(String message) { …
mah454
  • 1,571
  • 15
  • 38
5
votes
2 answers

How can I get tomcat to auto-deploy WAR files from a directory, but still using the original appBase directory

I need to deploy my application in an embedded solution (running on a raspberry pi zero). As such, I only really can deploy things on localhost. I am not too familiar with virtual hosts, so I may be wrong on this. My problem is that I want tomcat to…
MoustacheSpy
  • 743
  • 1
  • 6
  • 27
5
votes
0 answers

Cannot inject ExternalContext or RequestParam in CDI @RequestScoped managed Bean

Searching around the web I found that it should be possible to @Inject some convenient JSF Objects into CDI beans, these objects should be Produced by JSF and exposed via Qualifiers in javax.faces.annotation.* (like @RequestMap or…
jfer
  • 81
  • 6
5
votes
2 answers

Can't solve this issue UnsatisfiedDependencyException: There was no object available for injection at SystemInjecteeImpl

i've tried alot to fix this issue but couldn't. I find, if we use "abstractBinder" then this could be fix but once i've my Binder in place, i start having 404 error. UnsatisfiedDependencyException: There was no object available for injection at…
Nitin Gupta
  • 143
  • 4
  • 13
4
votes
1 answer

After migrating from Wildfly 12 to 22 getting NullPointerException on Startup

I tried to migrate my Wildfly from 12 to 22. After I run the migration tool I put my war-file into the deployments folder. But when I try to start it with the following command ./standalone.sh -c standalone-full.xml I get the following…
Nimal
  • 149
  • 14
4
votes
4 answers

Hibernate QueryException Named parameter not bound error

I keep getting the error org.hibernate.QueryException: Named parameter not bound : item when I start my transaction in JPA using EntityManager createNativeQuery. I have my code below utilizing the entity manager, along with my embeddedID class (for…
wheelerlc64
  • 435
  • 2
  • 5
  • 17
4
votes
2 answers

How does javax.enterprise.context.RequestScoped works when is specified on a field?

Found the following in the code (real names are replaced with dummy): JAX-RS Resource @Path("hello") public class HelloResource { @Inject @RequestScoped FirstService service1; @Inject SecondService service2; .... } Dependencies //…
ikos23
  • 4,879
  • 10
  • 41
  • 60
4
votes
0 answers

Failure while notifying an observer of event null - when trying to fire event on transaction failure

I need possibility to be informed when transaction has failed. And for that case I did create Event observer: public class TransactionObserver { private static final Logger log = Logger.getLogger(TransactionObserver.class); …
Suule
  • 2,197
  • 4
  • 16
  • 42
4
votes
1 answer

Swagger identifies rare endpoints in REST API

Some days ago I started a REST API in JavaEE 7, I implemented a single class with three methods and implemented succesfully Swagger and Swagger-UI in the project, which showed the three endpoints I implemented succesfully in the generated…
somastak
  • 71
  • 1
  • 7
1
2 3
31 32