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
-1
votes
1 answer

connection leakage with hikari CP

I have jdbs template for sql for sql statements, and use hikari connection pool, after after several calls i took exception, i used try-with-resources, where is my mistake?(Servlet Container -Tomcat) public class SimpleJdbcTemplate { private…
handsome16
  • 51
  • 2
  • 7
-1
votes
1 answer

A summary of all Jakarta EE Specifications

For All Java EE 8 specifications Oracle has a page https://www.oracle.com/java/technologies/java-ee-glance.html#javaee8 . This gives us around 40 API spec's . Where Can I find a similar spec for Jakarta EE 8 . In its website around 31 are listed..…
-1
votes
3 answers

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

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-06-23 16:35:53.160 ERROR 7624 --- [ main] o.s.boot.SpringApplication : Application run…
-1
votes
1 answer

How to autorun a java file on WildFly

I'm developing a web app in JEE technology with WildFly as production server. Il must make some tasks autorun every day for performing somes operations in the databases. But I've never do it before with JEE technology. If someone could help…
-1
votes
1 answer

Mapbox Style Specification - Java Implementation

I am currently working on a Java backend which should generate a mapbox style. https://docs.mapbox.com/mapbox-gl-js/style-spec/ After some research I found the specification in JSON format.…
OnlyMate
  • 23
  • 7
-1
votes
1 answer

hibernate creating table but that have no affect

Can not create tables using hibernate. There is no error and log looks like it works but in database nothing changes. I'm using java, hibernate and mysql 8. Dialect which i used is: org.hibernate.dialect.MySQL57Dialect. Running on payara5 server. My…
Bogus
  • 283
  • 1
  • 2
  • 13
-1
votes
1 answer

Java ee / WildFly - Calling a Bean from Web Module

I'm trying to call a Bean from a Servlet in the EJB module (that I have called 'Core') with the annotation @EJB private DoSomethingLocal doSomething; but I have this result when I try to deploy the EAR 22:44:08,502 INFO [org.jboss.weld.deployer]…
Nick
  • 3
  • 3
-2
votes
0 answers

When using EclipseLink with a JavaEE Application Server , how can I make my own Connector class use the AP server's connection pool?

I need to use my own JDBC Connector and Connection. So I first tried to set up my own connector our own connector that inherits from JNDIConnector in the eclipselink.jdbc.connector property with reference to the following site. hibernate - How to…
-2
votes
0 answers

Why am I getting an error with glassfish7:

I just started with Java EE and made a small easy project. It worked but the next day that I came back it stooped working. I've tried for a few hours but no avail. Here is a picture. The IDE i use is netbeans. I use the glassfish7 enter image…
Prince
  • 1
-2
votes
1 answer

reading email and password in servlet (Java EE)

I'm working on a simple login servlet in which the user enters his email and password which are stored in a text file(I can't use a database) ,if the credentials are correct then the user will be redirected to a weclome jsp page if not correct then…
-2
votes
1 answer

How to configure JSF 2.3 with Tomcat in IntelliJ?

I am building JSF project, it is my first project, and when I am trying to run the program on the server which is tomcat-9 and no thing change in .xhtml file display on the browser. May someone help me and explain how to configure IntelliJ with JSF…
Leva dev
  • 51
  • 5
-2
votes
1 answer

How to resolve "error: package javax.json does not exist" for Oracle Java 8?

I have been using 3rd party libraries to process JSON, but I hear Java has one, and I'd rather use that instead. I made a test class that did nothing but import the package and print hello world, but I got the following error. JsonTest.java:1:…
davidalayachew
  • 1,279
  • 1
  • 11
  • 22
-2
votes
1 answer

Limit the number of characters in one line of String in java

I want my one line to contain a maximum 69 characters without breaking words. Suppose my string is as follows \n TEXT\n TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTEXTRA\n TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT…
Pawan Patil
  • 1,067
  • 5
  • 20
  • 46
-2
votes
2 answers

Reply to an email automatic Java J2EE ( javamail)

public class SendEmail { public static void main(String[] args) { //authentication info final String username = "mailing@gmail.com"; final String password = "pass"; String fromEmail = "mailing@gmail.com"; String toEmail =…
-2
votes
1 answer

Java EE - study material

I want to learn Java EE, but I did not find good material to study. Could you recommend me some tutorials, or maybe some books that are easy to understand? I need to learn especially Java EE 7. Thank you!
abc
  • 494
  • 1
  • 8
  • 27
1 2 3
31
32