Home

0

The sort of Spring Bean injections

@Autowired, @Resource, @Inject 어노테이션으로만 자동적으로 객체를 주입할 경우 컨테이너에서 주입할 대상이 여러 개여서 의존성을 주입하지 못하는 경우가 발생할 수 있다 @Primary, @Qualifer 로 같은 우선순위로 있는 클래스가 여러 개가 있을 시 그 중 가장 우선순위로 주입할 클래스 타입을 선택할 수 있다.

0

The sort of Rest Api Clients in Java

I just record the way how we use a lot of the way to communicate each others on the HTTP.It might be really a lots. I record just the summary about them and the way how to use them at here. HttpURLCon

0

The basic of Spring Data JPA

The concepts of JPA, Spring Data JPA, HibernateFirst time to study this, I just think they are same techniques but as you know, They aren’t same so I would like to explain about them briefly in here.

0

Singleton Pattern

Use private keywordThe main topic of the singleton pattern is It has to block the access for create new instance from outside because It’s needed only one object.We often use the ‘private’ keyword for

0

ElasticSearch

ELK = Elasticsearch + Logstash + Kibana ELK 는 Elasticsearch + Logstash + Kibana 세개의 오픈 소스 프로젝트를 하나의 스택으로 쓰는 것 노드라는 걸 기반으로 데이터를 저장하고 한 데이터는 복사본, 원본 을 위해 여러개의 노드로 저장. 이 노드들이 유기적으로 연결되고 함으로써 확장성을 가진다고

0

O.O.P

Especially, I don’t know about the topic on today. It’s so subjective thinking of me. So I hope to read this lightly. What is the O.O.P ?I don’t want to consider the technical things at here for expla

0

Usage of JUnit when it's private method.

How to test the private method in junit.Actually you can’t access the methods declared private thing. so You have to use the another way to test the below code. 123456789101112131415public class Naver

0

How to use the parallel stream

1. .parallel() and .sequential()Stream API has the .parallel() function. It offers the parallel attrbute to the stream literally. You can use this function at the mid place and the calculations will b

0

Java 8 Reduce and Collector

1. reduce()reduce() calculation return the value no like any list, array, collection model. Usually It’s called ‘Fold’ Calculation at the Functional Programming. Because The process getting the value