네발로 코딩하는 포메라니안

  • 홈
  • 태그
  • 방명록

의존 관계 1

Spring (3) - Container에 객체(Bean) 설정하기3 : Annotation

0. Annotation 1. Stereotype Annotation Stereotype Annotation은 Bean을 등록할 때 사용할 수 있는 annotation이다. Stereotype 적용 대상 @Controller MVC Controller에 사용 @Service Service 계층 @Repository DB에 접근하는 계층 ex) DAO @Component 위의 계층에 속하지 않은 경우 ex) DTO 등 2. 의존 관계 설정 Annotation Annotation 설명 @Autowired Spring에서만 사용 가능 멤버 변수, setter, constructor, 일반 method에 사용 가능하며 타입에 맞춰서 연결함 예시 => 2022.04.20 - [웹프로그래밍/Spring] - Spr..

Programming/Spring 2022.04.23
1
더보기
프로필사진

  • 분류 전체보기 (364)
    • CS (56)
      • 자료구조 (9)
      • 운영체제 (4)
      • 알고리즘 (2)
      • 컴퓨터망 (2)
      • 네트워크 (5)
      • 데이타베이스 (13)
      • 디자인패턴 (1)
      • 기타 (20)
    • Programming (82)
      • Java (0)
      • Spring (24)
      • Django (8)
      • Vue (12)
      • HTML (4)
      • CSS (8)
      • JS (9)
      • Servlet & JSP (14)
      • Server (3)
    • 코딩문제풀이 (219)
      • Baekjoon (160)
      • 프로그래머스 (55)
      • SWEA (4)
    • 개발환경설정 (6)

Tag

구현, python, Spring, 설명, js, 파이썬, DP, dfs, BFS, jsp, MYSQL, 백준, html, 프로그래머스, 자바, 풀이, Vue, 코드, java, simulation,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

Copyright © Kakao Corp. All rights reserved.

티스토리툴바