Questions tagged as 'java-ee'

1
answer

Why does JPA return the related records in FETCH LAZY?

I'm using JPA and I'm having problems retrieving records from tables that contain foreign keys, my DB is wide but I'll simplify the problem, in a typical REGION - > CITY - > COMUNA REGION Table Primary Key REGION Tabl...
asked by 07.06.2018 / 17:20
0
answers

How to add an Interceptor to Google Cloud Endpoints

I need to add an interceptor to execute tasks under the main thread while serving requests on all endpoints. How can I add this extra layer without damaging the stability of those already established by the google framework.     
asked by 04.06.2018 / 10:43
1
answer

Automated test with Selenium using netbeans

I am trying to reproduce the facebook page with selenium using NEtbeans java. but I get this error when doing the Test File.    OpenPagen caused an ERROR: Can not find firefox binary in PATH. Make   sure firefox is installed. OS appears to be...
asked by 06.06.2018 / 18:48
3
answers

Problem CORS with angular and glassfish

I have several days with a problem of CORS , I have my back in an api Rest in Glassfish (JavaEE), and the Angular app consumes that api, evidently they are in different servers so it is necessary the Access-Control-Allow-Origin statement in t...
asked by 30.05.2018 / 23:55
1
answer

How to add general HEADER attributes to the response of my web service java?

I am exposing an api rest with Javaee, but I have the problem of CORS because I am consuming it from an Angular app, I know that in each method of the service to each response I can place a header, but I do not want to add a header to each respo...
asked by 24.05.2018 / 18:28
0
answers

Why do not my web page sometimes load CSS, JS, and / or IMG resources?

I have a project of a web application in which it is totally fine but sometimes problems occur that do not load some CSS, JS and / or IMG. Technologies: JAVA EE Spring 4.3 Angular 1.2 Problems: This is my page as it s...
asked by 24.05.2018 / 15:50
0
answers

How to recover Java service JSON?

I am creating a REST service exposed from Java, I am working in Netbeans because I saw that it was much easier to generate the code from the database model that I have already defined and created, now the service works for me but I it returns al...
asked by 22.05.2018 / 22:00
1
answer

Weblogic (12.2.1.3) - Error in displaying a war. "Cvc-enumeration-valid"

I have a problem with my weblogic server 12c, the fact is that I went to deploy a service in war format and the server returns the following error: <8:3> problem: cvc-enumeration-valid: string value '3.1' is not a valid enumeration value...
asked by 15.05.2018 / 16:12
0
answers

Error Artifact Glassfish with IntelliJ IDEA JAVA JSF

   [2018-05-07 11: 19: 12,145] Artifact DemoJSF: war exploded: Artifact is   being deployed, please wait ...       [2018-05-07 11: 19: 17,472] Artifact DemoJSF: war exploded: Error   during artifact deployment. See server log for details....
asked by 07.05.2018 / 18:37
2
answers

Deactivating commandButton does not execute a method of the bean located in the action of the button

I am working with jsf2 and primefaces. I have a page where there is a table p: dataTable to which I have put checkbox: <p:dataTable id="listTable" var="bean" value="#{beanMaquina.lstMaquinas}"...
asked by 01.05.2018 / 15:23