Posts by Jonathan • 145 points
13 posts
-
2
votes2
answers191
viewsA: How to pass Property-bind to router-outlet at angular 2
I tbm think there is no way to do this... if you want to pass information from one component to another maybe it is better to create a service Shared
-
0
votes1
answer50
viewsQ: How to search for Entity and Daughters in a single sql
I have 3 classes that relate as follows: class AnamnesisModel < ApplicationRecord has_many :anamnesis_questions accepts_nested_attributes_for :anamnesis_questions end class AnamnesisQuestion <…
-
0
votes6
answers3667
viewsA: Are there objective advantages to a language being "case sensitive" or not?
Basically Zoom in on the number of Symbols you can use Standardizes the code Facilitates reading
-
4
votes1
answer395
viewsQ: UML aggregation X composition
Studying associations in UML ( aggregation and composition) I realized that the difference between them would be only the existence or not of the parts without the whole.…
-
0
votes1
answer529
views -
1
votes2
answers319
viewsA: Problem Converting String to Date
It seems that the parameter dataa of the method PegaData(String dataa) is not coming with the value you expect. It seems to me that it is a problem before calling the function, ie the way you are…
-
1
votes2
answers578
viewsA: Why can’t I upload static data to the JSF datatable?
It would be interesting to create a method and annotate it with @postconstruct. So it will run automatically after the bean has been injected. I prefer to use this method to "initialize" anything,…
-
1
votes0
answers101
viewsQ: What is the correct way to register one to Many with DDD
I have studied DDD and assembled an architecture similar to the books and examples I have read. So far, when I’m gonna crud, when I record I run something like this: UI : The display layer fills an…
-
1
votes1
answer445
viewsA: What is the difference between actionlistener and action?
Although you can use them in the same way ( perform actions ), I think the better question is "when" to use one despite another. Action You should use an action if your intention is run a business…
-
2
votes6
answers13840
viewsA: What good is a builder?
In a simple way, it is a method that is executed at the instantiation of the object. The interesting thing about it is that you can ensure that a new object will have a set of values filled.
-
1
votes0
answers133
viewsQ: How to pass parameters for a query in a repository?
I’m creating a series of classes that return listings in Java (Android). I am concerned about the format of the parameters that will be passed. My initial approach has been to pass a Map with…
-
0
votes1
answer999
viewsQ: DTO Assembler, how do you really use it?
I’m reading about DTO and tbm viewmodel in ASP.NET and wanted to do something like this in JAVA. If I’m not mistaken, DTO is a way to move data between layers in a specific way without having to…
-
1
votes0
answers172
viewsQ: JSF + DDD : Is it correct to use the domain entities within the bean Managed?
1 - In the DDD it is correct to let the domain objects be fed by the JSF through EL ? // classe da camada de dominio public class Cliente { private String nome; // getters e setters; } // bean…