Questions tagged as 'java-ee'

1
answer

Sort dataTable by attribute

On the JSF page, it picks up the managed bean from the list of any objects. public class Ob implements Serializable { private Integer id; private Date data; private String descrição; } I wanted to mount the table more or less li...
asked by 13.07.2015 / 01:38
1
answer

Decoder for CAPTCHA

I need to turn a captcha into text, and be specific, to download NFE from the #     
asked by 04.04.2014 / 14:28
1
answer

Tomcat 7 configuration in Eclipse results in HTTP Status 404

I downloaded the tar-gz version of TomCat 7 and in linux manually set the variable CATALINA_HOME I typed the command $CATALINA_HOME/bin/startup.sh and hit http://localhost:8080/ , it worked normally ( appeared home I've bee...
asked by 05.01.2015 / 00:02
1
answer

Problems with thread

public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try { for(int x = 1; x <= 15; x++)...
asked by 31.05.2014 / 19:44
2
answers

What is the maximum number of threads supported by Java EE?

I am analyzing how to rewrite the architecture of a Java program would like to know how many threads the scheduler supports? or how can I infer this amount based on the processing power of my PC / Server / Cluster?     
asked by 08.09.2015 / 03:02
1
answer

How do I configure Apache Log4J to write to the Bank via Hibernate?

I'm starting to use Apache's Log4J and would like to know how to configure it by the XML file to write the logs to the bank using hibernate?     
asked by 26.08.2015 / 20:05
1
answer

Redirect to another page only if the user is authenticated

I have a login screen where I authenticate a user, however when I put a action to change the page independently whether the user was authenticated or not the page is opened. My question is to know where I have to check whether the user...
asked by 10.06.2015 / 18:54
1
answer

How to make a multilingual website and identify the country of origin?

I am developing a website in JavaEE and would like it to be multilingual (at least English, Portuguese and Spanish). But I would like to know how large websites, such as Facebook, for example, do to identify the country of origin and offer the s...
asked by 31.08.2014 / 06:38
1
answer

Using Spring Security

I'm using Spring security in a project, I was informed that I should get the jdbc driver and put it in the tomcat lib folder so that the whole spring process works correctly, since it would be tomcat that would make the connection, with bench f...
asked by 14.04.2014 / 15:56
2
answers

Differences and use of RMI, Socket and JPA

I'm new to java and would like some help to better understand RMI , Socket and JPA , and better understand its utilities and when because I do not see much choice between them. I researched a lot, but I found a lot of technical things that d...
asked by 31.12.2014 / 11:22