Questions tagged as 'java-ee'

1
answer

How does HtmlUnit work?

Someone has an example of a login of a web system communicating with another, where I will send the user and password to another site and this site will authenticate and give me a return if the user and password are correct or not, using HtmlUni...
asked by 17.06.2015 / 21:16
2
answers

Converter and Validator with CDI injection

Can anyone inject CDI or EJB in Converter or Validator in JSF 2.2? It was said that from 2.2 it would be possible but I'm not getting it. I've tried @EJB UserService userService and also @Inject UserService userService and both di...
asked by 30.06.2015 / 15:53
1
answer

Tracert or Traceroute in Java, without calling the OS

I'm developing a web application that will test the servers and bring the result equal to a tracert of Windows or traceroute of Linux. I'm developing in Java and using the above commands as follows: I identify the server and cal...
asked by 24.11.2014 / 19:55
1
answer

How to create a project with JSF, Primefaces and Tomcat that runs in Eclipse and Netbeans at the same time?

How can I create a Maven project with JSF, Primefaces and Apache Tomcat so it runs in both Eclipse and Netbeans without any problems? (Preferably with the latest versions of the technologies)?     
asked by 02.05.2014 / 03:19
2
answers

Alternative to JPA Implementation

I'm using JPA in a project, with Hibernate implementation, I still use Java 7. And PermGen is constantly running out of space. I know it's because of Hibernate, as I'm new to this Java technology. Does anyone know to indicate some less heavy...
asked by 10.03.2014 / 02:49
1
answer

Servlet Container (Tomcat) or Application Server?

Currently I'm developing a project that uses JSF, JPA, CDI and EJB. I have read in several places where they stated that Tomcat (Servlet Container) does not have support for these technologies, however I am currently using Tomcat and I use all o...
asked by 11.09.2017 / 19:54
1
answer

Blank space JSTL

I'm having a really annoying problem, when my jsp is mounted I have a foreach in jstl that leaves my absurdly giant final code, worse than I realized it's just white space. Here is the code: <c:forEach var="column" items="${tela.targetXm...
asked by 29.06.2017 / 15:01
2
answers

Capture via ExceptionHandler

I'm trying to capture a javax.validation.ValidationException in my MB to play on an alert later. I tried with the three examples below independent but nothing returned. Should I enter any more code? I use version 2.5.0. @ViewController...
asked by 22.12.2015 / 13:26
1
answer

Save data via POST on the bank with Vraptor

I have two methods in my Controller , one that lists all the data in the database and one method to save data in the database. I can already list all data when accessing URI but when I try to save from this error:    java.lang.Il...
asked by 10.09.2015 / 20:12
1
answer

Conditional validation on PrimeFaces component

Hello I have the following problem. I have the inputText description which is disabled by default. When I click the browse button, it enables inputText and then instantiates an object to search. If I do not pass a filter in the inputText desc...
asked by 20.08.2015 / 21:47