Posts by Eric Silva • 478 points
10 posts
-
0
votes0
answers216
viewsQ: Java - Generic Type as parameter of the readEntity method of Jax rs client
I want to abstract a post method from my code, using Generic type to facilitate implementation. The code is a Ws client using Jax-rs. The following public T2 post(T1 requisicao, String path){…
-
2
votes1
answer568
viewsQ: Web Crawler (Spider) with ajax in JSF using Node.js or Jsoup api in java
I have the task of creating an interface optimized for touch monitor, taking data from a website (http://www.consultas.der.mg.gov.br/grgx/sgtm/consulta_linha.xhtml). This site gives a listing of bus…
-
1
votes1
answer602
viewsA: Log4j 2.x with multiple files depending on the level
I arrived at this solution: <?xml version="1.0" encoding="UTF-8"?> <Configuration status="error" strict="true" name="XMLConfigTest" packages="org.apache.logging.log4j">…
-
3
votes3
answers2019
viewsA: Update total value with quantity
One solution pretty gross bad I guess that’s around. Follows the code: valorTeste = 2129.53; $("#nome").change(function(){ if($("#nome").val() == 'Teste'){ $('#valor').val(valorTeste); } });…
-
1
votes1
answer602
viewsQ: Log4j 2.x with multiple files depending on the level
I am a log4j beginner. I want to create a different file for each level of log (warn, error and etc). I have the following xml configuration file: <?xml version="1.0" encoding="UTF-8"?>…
-
17
votes2
answers690
viewsQ: Use of artificial intelligence techniques to solve complex problems
Faced with the task of developing a complex application, I decided to make that each time a human interacts with the system, that this record its decisions, apply weights and in the next suggestions…
-
1
votes0
answers30
viewsQ: Use of Data Franchise for Uninterrupted Ping
I have a network monitoring project where I will ping several hosts through a 3g/4g connection to each host. I need to decide which franchise I will hire and since the current plans simply cut…
-
2
votes7
answers811
viewsA: How to write variables in PHP?
Good morning Marcos, What he is doing is storing the values obtained by post in an array, whose values receive a string key that identifies them, rather than a numeric key of type integer 1, 2, 3…
-
3
votes1
answer120
viewsA: counter_cpu_share_used with red alert - Powerpanel
Good night, I have no experience with power panel, but I have with other similar management software and the post has little information. But I’ve studied some material from the net and I’ll try to…
powerpanelanswered Eric Silva 478 -
4
votes1
answer482
viewsQ: Change text of a Jtextarea at runtime
Good morning to all, I have a backup routine that should write the result in a JTextArea, at runtime. The copy works, the problem is that the window containing the JTextArea gets stuck and does not…