Questions tagged as 'java-ee'

0
answers

Verify token expiration in servlet

First time I'm in the tokens, I'm using jwt in java. I manage to generate the token without problems, I send it as a parameter to a servlet through a url and I show it. What is not done, is how I should verify that the token has not expired....
asked by 01.05.2018 / 16:42
2
answers

Problems with Primefaces component

I am developing a Java Web application using the Primefaces framework, in what is css with bootstrap (AdminLTE Template), the inconvenience that I have is that when I program a component of primefaces in this case a p: selectOneMenu, when I see...
asked by 14.04.2018 / 21:30
0
answers

I can not access a resource from JDBC Resources in the Glassfish

about my problem, I have seen other questions but none has been able to solve my problem. Before going on I want to clarify that I am new to the subject and I am watching a tutorial on JAVA EE. The technologies I use are: - JPA - JTA - Mys...
asked by 12.04.2018 / 03:54
0
answers

I have a problem with the eclipse log4j library

I have a project in eclipse, which saves the variables inside a logger but when I give it to compile, I get this error:    Exception in thread "main" java.lang.Error: Unresolved compilation   problems: The import org.apache can not be resolve...
asked by 26.03.2018 / 17:24
0
answers

Should I use the Sessions Beans?

The question I ask is that because I am currently modifying a project divided into layers, this project makes a binding between the managed beans and DAO using an ordinary Java class, which they name Controller. According to what I have learned...
asked by 28.03.2018 / 14:24
0
answers

java.lang.NoSuchMethodError: com.google.common.base.Preconditions

I have the following error: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V at org.openqa.selenium.remote.service.DriverService.findExecut...
asked by 14.03.2018 / 12:18
0
answers

PROBLEMS WHEN OPENING A JASPER DOCUMENT - JAVA EE

I have no problem when generating a document jasper in pdf , the problem is that when that pdf I paste it to a folder of a server and when I open it I get a message that the file It is damaged. Create folder code and copy...
asked by 05.03.2018 / 21:52
1
answer

Register rows of a datatable with a JSF checkbox

How could you do the procedure of an attendance list that when you finish marking the ones that are present, press a button and register the ones that are present with your status of checkbox (Marked-> True , No Marked-> False...
asked by 15.03.2018 / 20:05
0
answers

how to test for nested classes?

I just start with this @test, someone could help me with just one example for the next case, because within the coverage also asks me to cover this class, and try several things but not. THANK YOU public class MappersVars{ private MappersVar...
asked by 16.02.2018 / 22:30
1
answer

Lifecycle JSF 2

I'm starting with JSF2 and primefaces and I have a question about the life cycle. I explain it briefly: I have pagina1.xhtml that contains a table with a list and editing buttons, including a button again (action="page2") that points to another...
asked by 29.04.2018 / 07:40