Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDBC 관련 #8

Open
great-park opened this issue Apr 25, 2023 · 1 comment
Open

JDBC 관련 #8

great-park opened this issue Apr 25, 2023 · 1 comment
Labels
question Further information is requested

Comments

@great-park
Copy link
Member

great-park commented Apr 25, 2023

  • JDBC 사용 이유
    mysql, oracle 등 구현체를 신경쓰지 않고 사용하기 위함

  • JDBC 템플릿 콜백 패턴 공부하기
    구조적 반복을 줄이기 위해 템플릿 메소드 패턴과 전략 패턴을 엮은 JdbcTemplate 클래스를 제공

@great-park great-park changed the title JDBC 사용 이유? JDBC 관련 Apr 25, 2023
@jeongyuneo
Copy link
Contributor

전략 패턴(Strategy Pattern)

객체들이 할 수 있는 행위 각각에 대해 전략 클래스를 생성하고, 유사한 행위들을 캡슐화 하는 인터페이스를 정의하여, 객체의 행위를 동적으로 바꾸고 싶은 경우 직접 행위를 수정하지 않고 전략을 바꿔주기만 함으로써 행위를 유연하게 확장하는 방법

@great-park great-park added the question Further information is requested label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants