Tag: Java
-

Constructor, Setter, and Field Injection
Spring gives the developer the control of how beans are wired. However, Spring also empowers developers with greater control over how beans are wired. There are a variety of options to choose from such as Constructor, Setter, and Field Injection
-

Autowiring – @Qualifier
Spring has another a annotation that we can use when we have multiple beans to inject in a dependency, this annotation is @Qualifier. This annotation gives priority to one bean over others if two o more beans of the same type are found.
-

Creation of a Spring Project
Building a Spring project from the scratch can be a very challenging process. This is because the developers need to decide which dependencies the project will use, and then they need to build and set up the application infrastructure, such as the configuring the XML configuration file, install and configure Java, install an application server…
-

Spring Architecture
Besides of the Spring terminology, when we start with Spring we start to hearing about Spring boot, Spring Cloud, Spring MVC, Spring AOP, etc. and then we don’t know how to start and in the worst of the case we drop it to learn it. So, we can continue explaining those modules, project, etc. so…
-

Protocol Buffer aka (Protobuf)
Protocol Buffers (Protobuf) is a data serialization system developed by Google that allows you to define the structure of messages in a .proto file and generate code to efficiently serialize and deserialize data in multiple programming languages.
-

Java Class Structure
In Java, the basic building blocks are the Classes, when you define a class you will describe all the parts and characteristics of one of those building blocks. The use of the classes is to instantiate/create Objects. An object is a runtime instance of a class in memory. A class has two primary elements the…
-

Inmutability
Immutability refers to the property or characteristic of an object, value, or state that cannot change once it has been created or established.
-

Internal State
The internal state of an object represents the values of its attributes or properties at a given point in time.
-

-

Tight Coupling & Loose Coupling
Tight Coupling : means that the classes are dependent on specific class. Loose Coupling : he classes are not dependent on specific classes but on interfaces
