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

Java EE: CDI Fails when using constructor injection

I'm creating a backend service implementation for a bunch of interfaces and to have the cleanest code possible, I decided to move to Constructor based DI instead of Field based, but it gave me headaches. Using WebLogic 12.1.3, this class gets…
László Stahorszki
  • 1,102
  • 7
  • 23
0
votes
1 answer

Infinispan command dispatcher problem if multiple applications are deployed on Wildfly 13 EE8

I do have a problem with my newly obtained infrastructure and maybe someone can point out for me what's wrong or where to look at. I have multiple applications (packed as war's, I tried ear's too) using the same backend-jar's (business/service jars…
VaniFe
  • 3
  • 2
0
votes
1 answer

Empty Datatable cells using JSF2 Primefaces 6

I have an application loading a datatable from a backing bean. The SubAreas datatable loads the correct number of rows, however they are empty as seen on the image. After debuging I can see that listaArea atribute on the backing bean(responsible for…
Anika
  • 398
  • 5
  • 23
0
votes
1 answer

JavaEE scan annotation from bean

I use javaee 8 for my project and have this classes : public class PersonRepository { @Inject @Mongo(collection = "users") private MongoCollection collection; // define some methods .... } @ApplicationScoped public class…
mah454
  • 1,571
  • 15
  • 38
0
votes
0 answers

Why JSF is not working in a login page with @CustomFormAuthenticationMechanismDefinition?

I am trying to use the new Java EE 8 security. It is working if I don't use JSF in the login page. If I use JSF, nothing is displayed because the form is inside a tag (a JSF tag). The EL expressions of the page outside of the form are…
user1643352
  • 2,635
  • 2
  • 19
  • 25
0
votes
1 answer

Does OpenLiberty 18.0.0.2 come with an embedded database like Derby DB or H2?

I can't find any documentation about an embedded database within OpenLiberty 18.0.0.2 like Payara or Wildfly. Is there an embedded database shipped with OpenLiberty per default or do I have to configure a H2 or Derby DB by myself? Right now I am…
rieckpil
  • 10,470
  • 3
  • 32
  • 56
0
votes
0 answers

JAAS login with glassfish 5, JEE 8 and standalone application

I am using glassfish 5, with JEE 8 with EJB 3 I am using a jdbc realm using posgres. I have already setup my realm in the glassfish admin interface. I have an ear which contain an ejb jar and a war. The realm works well with the web app But now I…
mamoo
  • 1
  • 2
0
votes
1 answer

javax.naming.NameNotFoundException on Context lookup Java

I'm using a Payara application server on which I have defined a connection pool in order to lookup after it in my application. The ping made from application server to database works. In my domain.xml database resource is configured as…
SocketM
  • 564
  • 1
  • 19
  • 34
0
votes
1 answer

Is it possible to return Stream from JAX-RS 2.1 resource?

Googling surprisingly did not show results! So, please, I am wondering if it is possible...: 1. as for any JAX-RS implementation (e.g. by spec) - did not find that one in the spec itself. 2. as for some particular one (like a provider specific…
SoBeRich
  • 682
  • 2
  • 8
  • 15
0
votes
0 answers

Wildfly10 hsqldb module not installed, datasource configuration ko

Hi I try a JEE8 security web application example found here: https://github.com/swhp/javaee-soteria I would to install it in Wildfly10 (jboss 7+), with Cargo Maven 2 plugin, andwith HSQL database (instead of Postgres). App Running with cargo:run So…
robyp7
  • 481
  • 2
  • 7
  • 25
-1
votes
1 answer

Image in HTML file refusing to display

Before I begin, I have received so much help from this forum over the years, so thanks! Trying to add an image to an HTML file. I'm working on HTML and J2EE. Total newcomer to web programming. I started putting the entire path for the .jpg file…
Shawn
  • 1
-1
votes
1 answer

Migrating a graphics heavy Java Swing application to the web

I have a large Java Swing application I'd like to migrate to the web. It makes very heavy use of 2D interactive graphics and also uses Java3D. It started life as an Applet in Java 1.0 and grew quite considerably. If only applets were still available…
UnixNerd
  • 333
  • 1
  • 4
  • 15
-1
votes
1 answer

Failed to create service Invalid wsdl but it works in the test

Environment: IntelliJ in debug JBoss 7.2 Java 11 jaxws 2.3.0 I have created a client in a JUnit test and work well. The problem comes when I try to execute the method normally. I get the error 'Failed to create service' Caused by:…
Joe
  • 7,749
  • 19
  • 60
  • 110
-1
votes
1 answer

Changing a while to IntStream using java 8

I was playing around with Java 8 and I was trying to convert this below code which earlier had for and while loops but unfortunately I could not convert the while to IntStream. Can someone help me with this. Also if someone can suggest more better…
-1
votes
1 answer

how connect mogodb atlas to java EE 8 Framework with jpa through hibernate ogm?

so i want to connect a mongodb atlas cluster to a jpa project i could connect to mongodb local with this repo : https://github.com/i0712326/java-ee-hibernate-mongodb/tree/main/java-ee-09-hibernate-ogm but how much i changed its persistanse.xml file…