반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- JavaScript
- AWS CI/CD 구축하기
- chart.js
- Kafka
- Flux
- SQL
- Jenkins
- aws
- Airflow
- chartjs
- IntelliJ
- java bigdecimal
- codedeploy
- Spring
- openlens
- node
- kubeflow
- bootstrap
- redis
- docker
- 도커
- codepipeline
- aws cicd
- COALESCE
- Python
- VPN
- Spring Error
- codebuild
- PostgreSQL
- codedeploy error
Archives
- Today
- Total
Small Asteroid Blog
Connection Factory 본문
728x90
Connection Factory
Connection Factory란 Connection 을 얻어오는 부분을 따로 클래스로 만들어 사용하는 것이다.
데이터 베이스에 접속하기 위해서는 Connection 을 생성해야 한다.
자주 데이터베이스에 접속하다보면 접속하는 데이터베이스가 다르고, 접속하는 사람이 다르기 때문에 접속할 때마다 새로 코딩을 해주어야 한다.
이러한 불필요함을 줄이고자 Connection Factory 를 사용하는 것이다.
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
| [java] BigDecimal 사칙연산(더하기, 빼기, 나누기, 곱하기), 비교(compareTo) (0) | 2022.05.16 |
|---|---|
| [java] BigDecimal error : Non-terminating decimal expansion; no exact representable decimal result. (0) | 2022.05.15 |
| Reactive Streams (0) | 2022.04.16 |
| [webflux] PublishOn, SubscribeOn (0) | 2022.04.15 |
| Spring WebFlux (0) | 2022.04.14 |