Posts by Canatto Filipe • 391 points
9 posts
-
0
votes1
answer221
viewsA: CPU-intensive application blocks competing requests
Answering the question 1: Node.js uses an approach that seeks to optimize hardware resources (processor and memory) because it rules out the use of threads in Sleep state, meaning you don’t have…
node.jsanswered Canatto Filipe 391 -
15
votes2
answers1826
viewsQ: How is a program loaded into memory and then executed?
Imagine that I wrote a "hello world" in C. I compiled and generated an executable, then ran it. The result of the build is a binary, which is actually also a set of instructions that will be…
-
0
votes1
answer383
viewsQ: How to mount a generic query using jpa nativequery
Consider the following table: table: info_people ||Row ||first name||last name ||nationality ||time_do_heart |1|Marcelo |aragao |brazil |sp |2 |maria |Fonseca |brasil |sp |3 |Joao |timotio |brazil…
-
3
votes1
answer116
viewsQ: Error "Java" and "C" integration through JNI
Personal I am not managing to consume functions of a lib in "C" using Java with JNI. Follow my artifacts and the error generated. Class CalculadoraJNI: public class CalculadoraJNI { // Declaração do…
-
1
votes1
answer165
viewsQ: Doubt Receiving parameters (Webservice Soap)
Guys, I’m having doubts in the following scenario: I have this class, it is a webservice (contains the @Webservice method): @WebService(name = "l", targetNamespace = "o") public abstract interface…
-
2
votes1
answer50
viewsQ: Doubt parameter passage in Java
Personal talk, I am doubtful in the following method: /** * Metodo x */ public Exit Method(String n) { final Ent y = new Ent(); y.setn(n); Exit res = OpUtil.Envia(new Job() { @Override public Exit…
javaasked Canatto Filipe 391 -
2
votes1
answer107
viewsQ: Doubt RMI and JNDI
Talk to you guys!, currently I started studying RMI (Remote Method Invocation) with JNDI (Java Naming and Directory Interface). Briefly, from what I have learned so far is that the RMI technology is…
-
2
votes1
answer53
viewsQ: Doubt "Maven-archetype-webapp" template
I’m a beginner in development with Maven and I’m having some doubts. Next, I would like to create a Java web application, so I started running the following command: mvn archetype:generate…
-
1
votes1
answer395
viewsQ: Error deploying SOAP web service with Maven and Apache Tomcat
I built a JAX-WS application by Maven, but I’m unable to deploy it to the Tomcat application server. They follow my artifacts: pom.xml: <project xmlns = "http://maven.apache.org/POM/4.0.0"…