I have a 3 layer app getting the second layer and the object with the 3rd layer and the two attributes from this object Need to go to 1 layer (UI). Do I see this object's class in 1 layer (by importing it package / namespace, which I am trying to avoid) or I should show these attributes as a string array (I have an object array , But they 're a string and an int type in 1.4) and put them in the proper compilation time (their types have been fixed, so thank you is an option)?
I am not a Java expert, but I can tell about any general advice. Since it is your background, it should be relevant to you.
Am I correcting this object's class as 1 layer (by importing this package / namespace, which I am trying to avoid
) I want to import the namespace. Although it seems that you reduce coupling, it is better than string array because it does not seem expensive.
Do not forget that readability is always a serious consideration. Look at the MVC pattern.
Comments
Post a Comment