Posts by Diego Aguiar • 131 points
10 posts
-
1
votes3
answers2559
viewsA: What is the difference between software, program, app, and system?
The definitions are infinite and can vary from the most generic possible, where the terms can probably be considered synonymous, the most methodical definitions resorting to the origins of the…
-
0
votes2
answers735
viewsA: Multiple Databases with Spring Boot
I suggest you read the article of this blog that exemplifies the configuration of for spring-boot application to work with two databases. In short, this would be the sequence of activities to be…
-
1
votes5
answers578
viewsA: How to validate when Resultset does not find any value?
As answered by @Cantoni in this question. Another option is to use the method isBeforeFirst() also of class ResultSet. This method will return true if the cursor is before the first record and false…
-
0
votes3
answers219
viewsA: Get maximum table value (JPA) with Java 8
Integer contained in Optional failed to be extracted: modelAndView.addObject("maxId", maxId.get()); However worth remembers that this Optional can contain a null internally, so requires a treatment…
-
1
votes2
answers151
viewsA: Does HTTP/2 need something other than server configuration to work?
First, it may be the browser of clients that do not support HTTP/2 and its features. For example, sometimes the browser does not support the server push and ignores it (as is the case with Safari…
-
1
votes1
answer544
viewsA: What’s the Actionlistener for?
Listener, in java, is a way to implement the "Observer" project standard. Thus, the Listener serves to listen to what happens in one object and there is some change of state, another (s) objects is…
-
6
votes2
answers758
viewsQ: What is Fat JAR?
In my daily studies on Java on the Internet, I found some references and comments from programmers using this name "Fat JAR", in the context of configuration and deployment of Java applications. As…
-
0
votes3
answers16110
viewsA: What is the difference between web server and application server?
An answer in a few words would be: An Application Server serves processes that allow clients to request and receive responses; A Web Server is a specialized application server to meet Web needs.…
-
-1
votes1
answer180
viewsQ: What is the difference between the ending, Finally and finish in Java?
What is the difference between the terms: final, finally and finalize(), in the programming language Java?
-
-2
votes2
answers202
viewsQ: What is the purpose of serialization?
What is the purpose of the serialization of objects?