일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 국비지원#국비교육#국비지원자바#국비교육자바#css#HTML#JAVA
- #java#JAVA#프로그래밍#웹개발자
- spring#Spring#RequestBody#ResponseBody
- Java#java#메모리영역#클래스로더#가비지컬렉터
- 항해99 #항해플러스 #주니어개발자 #주니어개발자역량강화 #주니어개발자멘토링 #개발자사이드프로젝트 #코딩부트캠프 #코딩부트캠프후기
- Java#정처기#비트연산자#정보처리기사
- java
- Java#JAVA#매개변수
- Resource #
- db#데이터베이스#오라클#sql
- 자바#Java#배열예시#연습#기초다지기
- 프로그래밍
- 국비지원JAVA
- Spring#spring#스프링#스프링프레임워크#스프링의존성주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- 개발자도서#개발자책#도메인#DDD#도메인주도개발시작하기#개발스터디#
- Spring#spring#스프링#스프링프레임워크#스프링자동주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- 개발자#it도서#도메인#DDD#ddd
- Java#컴파일러#자바컴파일러#
- 국비지원JAVA#국비지원자바#프로그랭#JSP#국비지원JSP#국비교육JSP#웹개발자#코딩
- #
- 국비지원자바#국비교육자바#국비지원java#국비교육java#자바스크립트#프론트엔드
- 항해플러스#항해#항해플러스3기#회고
- Java#java#자바#다오#디티오#브이오#dao#dto#vo
- 국비지원#국비교육
- html#HTML#프론트엔드#개발자#코딩#국비지원#국비교육#국비지원프론트엔드#국비지원HTML#국비지원html#국비프론트엔드
- tibero#티베로#이중화#failvover
- 자바
- 쿼리스트링#쿼리문자열#바인딩
- 국비지원JAVA#국비교육JAVA#국비지원자바#국비교육자바#JSP#SERVLET#서블릿#
- IntelliJ#인텔리제이#인텔리#단축키
Archives
- Today
- Total
목록autowired (1)
개린이 개발노트
@Resource 와 @Autowired
@Resource와 @Autowired는 모두 Spring Framework에서 의존성 주입을 수행하는데 사용되는 어노테이션입니다. 그러나 이 두 어노테이션 간에는 몇 가지 차이가 있습니다. 사용 목적: @Resource: 주로 자바 EE (Enterprise Edition) 환경에서 사용되며, 기본적으로 이름을 기반으로 의존성을 주입합니다. 이름 기반으로 주입되는 자원의 경우 name 속성을 사용하여 지정할 수 있습니다. @Autowired: Spring Framework에서 주로 사용되며, 주입할 빈을 타입을 기반으로 찾아서 의존성을 주입합니다. 주입 방식: @Resource: 이름(빈의 id나 이름)을 기반으로 주입합니다. 예를 들어 @Resource(name = "userService")와 같이 ..
스프링Spring
2024. 1. 12. 10:50