분류 전체보기
-
Subnetworks and SubnettingWeb/Network 2020. 3. 6. 20:47
1. Overview A subnetwork or subnet is a logical subdivision of an IP network.:1,16 The practice of dividing a network into two or more networks is called subnetting. Computers that belong to a subnet are addressed with an identical most-significant bit-group in their IP addresses. This results in the logical division of an IP address into two fields, the network number or routing prefix and the ..
-
Portable Service Abstraction (PSA)Framework/SPRING 2020. 3. 6. 09:47
1. Overview Spring Framework helps implementing technical aspects of the application like security and transactions in a declarative way by providing annotations to capture settings for those aspects. When creating the object tree, it then decorates the instance 2. Example 2.1 Security and Transactions Spring components using services like security and transactions @Component class MyService { p..
-
Dependency Injection (DI)Framework/SPRING 2020. 3. 5. 19:24
1. Overview for dependency injection, Spring can automatically wire up your objects together. So basically what'll happen is that Spring will look for a class that matches a given property. And it'll actually match by type, so the type could be either the class or the interface. Once Spring finds a match, then it'll automatically inject it. Hence it's called Autowired. 2. Dependency Injection wi..
-
ElasticsearchDB/Nosql 2020. 3. 3. 19:26
1. Overview Elasticsearch is open-source analytics and full-text search engine. It’s often used for enabling search functionality for applications. For example, you might have a blog or a webshop for which you want users to be able to search for various kinds of data. That could be blog posts, products, categories, or anything you want. You can build complex search functionality with Elasticsear..
-
MediatorModeling/DesignPattern 2020. 3. 1. 19:07
1. Overview Mediator encapsulates how a set of objects interact with each other. Due to this encapsulation, there is a loose coupling between the interacting objects. Typically an object explicitly knows about other objects to which it wants to interact i.e. to call a method. In mediator pattern this interaction is within the mediator object and interacting objects only know about the mediator o..
-
MementoModeling/DesignPattern 2020. 3. 1. 19:07
1. Overview When we want to store an object's state without exposing internal details about the state then we can use memento design pattern. The main intent behind saving state is often because we want to restore the object to a saved state Using memento we can ask an object to give its state as a single, sealed object and store it for later use. This object should not expose the state for modi..
-
CompositeModeling/DesignPattern 2020. 2. 29. 19:09
1. Overview Composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that are treated the same way as a single instance of the same type of object. We have a part-whole relationship or hierarchy of objects and we want to be able to treat all objects in this hierarchy uniformly. This is not a simple composition concept from object-oriented programming..
-
Chain of responsibilityModeling/DesignPattern 2020. 2. 29. 19:06
1. Overview We need to avoid coupling the code which sends a request to the code which handles that request. Typically the code which wants some request handled calls the exact method on an exact object to processing it, thus the tight coupling. Chain of responsibility solves this problem by giving more than one object, chance to process the request. We create objects which are chained together ..