Questions tagged [java-ee-7]

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

Java Enterprise Edition 7 (JEE7) is a specification defining a collection of Java-based technologies and how they interoperate. JEE7 incorporates the features of technologies of JEE6, including EJB3, JPA, JSF, CDI, etc. and adding new features like WebSockets, etc.

Numerous implementations are available in the form of both commercial products and open source projects.

Information

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

Useful links

1224 questions
5
votes
4 answers

How to start JBoss AS 7.1.1 on Windows?

I am new to JBOSS.I downloaded jboss-as-7.1.1.Final.zipand unzip this zip file. Then I go to bin folder and double click on standalone.bat but new cmd window open and close within 2 -3 sec. I tried to start server throught cmd.I open cmd in 2…
ur truly friend
  • 553
  • 4
  • 11
  • 23
4
votes
1 answer

javax.ejb.EJBException: Transaction aborted while inserting record to Derby db table using Entity Manager

hi i'm working on Java EE 7 web application everything works perfect but when i try to create Order which have Many-to-one relationship with two entities i.e. Car and Customer i have tried all other answers that are posted around. please take a look…
weje
  • 69
  • 1
  • 7
4
votes
1 answer

How to authenticate JavaFX client in JavaEE

I develop three-tier application with JavaFX on client side, JavaEE/Glassfish on server side and MySQL as a database management system. Also I used REST and JSON for transferring the data across network. Now I try to configure an authentication…
Rinat
  • 362
  • 3
  • 14
4
votes
1 answer

How to load messages to resource bundles from a database and bind strings via message keys to the view

Currently I'm developing a Java 8 / JavaEE 7 Web application using JSF 2 with Primefaces 6. As a part of this project, I have to build a module to fetch translations (messages in German and English) from a database to get a dynamically translated…
mueslirieger
  • 181
  • 1
  • 9
4
votes
2 answers

How to distribute an event to all nodes in a (Wildfly) cluster?

I would like to notify all nodes in a cluster when the state of a longer running process in my JavaEE 7 WebApp changes, so that every node can in turn notify their clients via WebSocket about that change. I am working with Wildfly 10 in a clustered…
Thomas
  • 620
  • 7
  • 19
4
votes
4 answers

Why is DataBase Connecton keeps closing

I am really stuck with this problem so I would be glad is someone could help me out! when i login after a minute the system logs out when i try to login again I get this error: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No…
ivan
  • 53
  • 4
4
votes
1 answer

java.io.IOException: UT010029: Stream is closed

How to Resove below Error: ERROR [com.test.filter.AuthenticationFilter] (default task-6) displayUpdateUser:Error occurred while displaying the Update User page.: java.io.IOException: UT010029: Stream is closed at…
Thamaraikkannan
  • 41
  • 1
  • 1
  • 2
4
votes
0 answers

FirebaseApp with name [DEFAULT] doesn't exist in JAX-RS application (NOT ANDROID)

Don't mark as duplicate. This is a question for Java EE, not Android development. I'm new to Firebase and I thought I'd give it a try to evaluate it for use in some upcoming development work, but I'm unable to even initialize Firebase. I followed…
KG6ZVP
  • 3,610
  • 4
  • 26
  • 45
4
votes
1 answer

Injecting RequestScoped CDI Bean into ApplicationScoped CDI Bean via Producer class

This article explains that you can inject RequestScoped beans into ApplicationScoped beans and the client proxy will point to the correct instance during a request: Bean instance of a shorter scope injected in a bean instance of a larger scope in…
phivo
  • 183
  • 2
  • 16
4
votes
1 answer

Transactions inside tasks of ManagedScheduledExecutorService on TomEE 7.0.0?

Context I want to schedule recurring background tasks using ManagedScheduledExecutorService. I get my Runnables/Callables via an Instance, so I have injection capabilities available inside my tasks. My application runs on TomEE 7.0.0-SNAPSHOT…
Schroenser
  • 289
  • 1
  • 7
4
votes
1 answer

Let a ear deployment programmatically mark itself as failed

I've been looking for a way to programmatically let a deployment stop itself. For our use case we deploy several ear's, where one is the most important one, and the others depend on it. We made certain that the important ear deploys first, and the…
Wouter
  • 1,290
  • 2
  • 16
  • 24
4
votes
1 answer

Arquillian configuration DeploymentException with WindowBeanHolder

I'm building a test suite in order to perform them on arquillian. I've followed this Arquillian's starting guide I'm using this gradle to test my tests: providedCompile 'org.jboss.spec:jboss-javaee-7.0:1.0.3.Final' testCompile…
Jordi
  • 20,868
  • 39
  • 149
  • 333
4
votes
1 answer

JSF svg use xlink

I have to following code in html5 and i want to embed it in my jsf 2 application but the tag simply doesn´t work: Anybody an idea?
perotom
  • 851
  • 13
  • 33
4
votes
2 answers

What are "Java EE 7 API Library" and "Java EE Web 7 API Library" and when to use them?

I have a full-fledged Java EE project running on GlassFish 4.1 / Java EE 7 (NetBeans 8.0.2) not using Apache Maven. Depending upon the project functionality, the CDI dependency has to be added to both the projects/modules namely the EE module and…
Tiny
  • 27,221
  • 105
  • 339
  • 599
4
votes
2 answers

web.xml not found in Java EE7 project

I'm doing a project in eclipse with JSF 2.2 and Servlet 3.1 (Java EE7). The first problem I had was a error in the pom.xml in line: war Error: web.xml is missing and is set true. I researched on the internet and added the…
user2733757
  • 171
  • 3
  • 11