created by Aha00aAha00a at 2021-10-08
last modified by Aha00aAha00a at 2022-08-17
revision: 3

Spring

Java Web Framework

https://spring.io/

별로 좋아하진 않지만... 결국 먹고사니즘이구만.. --2021-10-08

1. spring.profiles.active

  • env
    • JAVA_OPTS=-Dspring.profiles.active=prd
    • SPRING_PROFILES_ACTIVE=prd
  • use
    • @Value("${spring.profiles.active}") String springProfilesActive

--2022-08-17

2. Dependency Injection

여러 방법이 있다..

  • 필드 주입(Field Injection)
  • 수정자 주입(Setter Injection)
  • 생성자 주입(Constructor Injection)

현업에서는 Field Injection을 제일 많이 쓰는듯.. Constructor Injection만 쓰기로 한다. 나머지는 다 없어졌으면...

--2021-10-08

3. See Also

3.2. Similar Pages

Similar pages by cosine similarity. Words after page name are term frequency.

3.3. Adjacent Pages

≤ 32
all
1.0x
1.0x
80
-120
ON
0/0
0/0
0.00
0
0 / 0
1.00x