... |
... |
@@ -1,7 +1,7 @@ |
1 |
1 |
(% class="box infomessage" %) |
2 |
2 |
((( |
3 |
3 |
(% style="text-align: justify;" %) |
4 |
|
-An object is injected with the dependencies it needs, rather than constructing them itself.The explanations given here do not claim to be complete. They merely serve as a brief description to give an idea of the respective term. For more detailed information, the Internet should be consulted. Note that some of these technical terms are fuzzy, overlap with other terms, or have different meanings depending on the context or the people using them. This Glossary is an attempt to structure these terms in a concise manner. Be open to variations as you talk and work with other developers. |
|
4 |
+The explanations given here do not claim to be complete. They merely serve as a brief description to give an idea of the respective term. For more detailed information, the Internet should be consulted. Note that some of these technical terms are fuzzy, overlap with other terms, or have different meanings depending on the context or the people using them. This Glossary is an attempt to structure these terms in a concise manner. Be open to variations as you talk and work with other developers. |
5 |
5 |
))) |
6 |
6 |
|
7 |
7 |
|
... |
... |
@@ -16,17 +16,15 @@ |
16 |
16 |
|Concretion|(% style="text-align:justify" %)((( |
17 |
17 |
It is the counterpart of "abstraction" and is sometimes called "implementation". In OOP it refers to classes that implement methods of interfaces or abstract classes. A concretion defines the internal workings of these abstract functions by providing the "concrete" code. |
18 |
18 |
))) |
19 |
|
-|[[Constructor Injection>>doc:Software Architecture.Dependency Injection.Types of Dependency Injection.WebHome]]|(% style="text-align:justify" %)Dependency injection, which is performed by passing a dependency to an instance via a constructor argument. |
|
19 |
+|[[Constructor Injection>>doc:Software Architecture.Dependency Injection.Types of Dependency Injection.WebHome]]|(% style="text-align:justify" %)Dependency Injection performed by passing a dependency to an instance via constructor argument. |
20 |
20 |
|Component|((( |
21 |
|
-1. In Spring, this is a generic annotation for a bean that does not match any other Spring Bean Annotation: "@Component". |
|
21 |
+1. In Spring, it is a generic annotation for a bean that no other Spring Bean Annotation matches: "@Component". |
22 |
22 |
1. In software architecture, it is a module that can be executed independently. It is often compiled and/or compressed into an executable such as a .jar or .exe file. |
23 |
23 |
))) |
24 |
|
-|Data Structure|(% style="text-align:justify" %)A very simple type of class that contains only data and no logic. For example, a class that has only public fields and no methods. Another form is a class with private fields and simple corresponding getters and setters. |
25 |
|
-|Dependency|(% style="text-align:justify" %)((( |
26 |
|
-In the context of classes, a dependency is a member field of a class that must be initialized with an instance of another class in order for an instance of the first-mentioned class to function properly. This initialization is often done through dependency injection. |
27 |
|
-))) |
|
24 |
+|Data Structure|(% style="text-align:justify" %)A very simple type of class that contains only data and no logic. For example, a class that has only public fields but no methods. Another form is a class with private fields and simple corresponding getters and setters. |
|
25 |
+|Dependency|(% style="text-align:justify" %)In the context of classes, a dependency is a field that must be initialized with an instance of another class in order for an object of that class to function properly. Often, the initialization is realized via Dependency Injection. |
28 |
28 |
|Dependency Cycle|(% style="text-align:justify" %)For example, an instance of one class requires an instance of another class to be constructed, and vice versa. So both classes need the other dependency to construct an instance. Therefore, it is impossible to construct either instance at all. Always make sure that the dependency graph looks like a directed acyclic graph. |
29 |
|
-|[[Dependency Injection>>doc:Software Architecture.Dependency Injection.WebHome]] (DI)|(% style="text-align:justify" %)A technique in which the dependencies an object needs are injected from the outside, rather than constructed within the class. |
|
27 |
+|[[Dependency Injection>>doc:Software Architecture.Dependency Injection.WebHome]] (DI)|(% style="text-align:justify" %)An object is injected with the dependencies it needs instead of constructing them itself. |
30 |
30 |
|Dirty|((( |
31 |
31 |
(% style="text-align: justify;" %) |
32 |
32 |
~1. Messy, unreadable, or poorly designed code is referred to as "dirty code". Often associated with code written "quick-and-dirty" due to time pressure. |
... |
... |
@@ -72,12 +72,14 @@ |
72 |
72 |
* An exception is thrown by the compiler that finds an invalid syntax in the source code. This is called a compile-time exception. |
73 |
73 |
* Suppose that after a successful compilation, an executable file was created, started, and an exception was thrown shortly thereafter. Since this happened at runtime, it is a runtime exception. |
74 |
74 |
))) |
75 |
|
-|Separation of Concerns|(% style="text-align:justify" %)A principle that says that programs should be modular, with each module dealing with a different aspect of the program. This is intended to give the software a clear, understandable structure. |
|
73 |
+|Separation of Concerns|(% style="text-align:justify" %)A principle that says that programs should be modular, with each module taking care of a different aspect of the program. |
76 |
76 |
|[[Setter Injection>>doc:Software Architecture.Dependency Injection.Types of Dependency Injection.WebHome]]|(% style="text-align:justify" %)Dependency Injection performed by passing a dependency to an instance via setter method argument. |
77 |
77 |
|Spring Bean|((( |
78 |
|
-A term used in the Spring Framework for an object that is contained in the IoC container to be injected into other beans and/or to receive dependency injections. It is one of many components/beans that are wired together via IoC to form the application when it is started. |
|
76 |
+(% style="text-align: justify;" %) |
|
77 |
+A term used in Spring Framework for an object that is contained in the IoC container to be injected into other beans and/or to receive dependency injections. It is one of many components/beans that are wired together via IoC to form the application when it is started. |
79 |
79 |
|
80 |
|
-It is not to be confused with JavaBeans. |
|
79 |
+(% style="text-align: justify;" %) |
|
80 |
+Not to be confused with JavaBeans. |
81 |
81 |
))) |
82 |
82 |
|Static|((( |
83 |
83 |
(% style="text-align: justify;" %) |