아마도 Bean에 대해서는 많이 봤을 겁니다. 싫던 좋던 XML의 beans아래에 bean을 넣어서 사용하기도 하였고요. @Configuration에 넣어서 사용하기도 하였죠. 두개의 Component가 있다고 하겠습니다. @Component public class People { private Country country; @Autowired public People(Country country) { this.country = country; } public String getCountryName() { return country.name(); } public void printCountry() { country.printText(); } } @Component("country") public clas..
이전에 만들었던 프로젝트에서 빼는 형태로 구성을 해볼게요. 2020/01/18 - [Web/Server] - IntelliJ. spring-webmvc + gradle + tomcat. web application 구조로 만들기 IntelliJ. spring-webmvc + gradle + tomcat. web application 구조로 만들기 이전에 글을 남길때는 gradle을 선택하고 Java만 선택한 이후에 web은 선택하지 않고 프로젝트를 세팅하였습니다. web을 선택하여서 main아래에 webapp이 노출되는 방식으로 한번 설명해 보겠습니다. Spring에서 M.. mrgamza.tistory.com 이 부분에서 우리가 servlet-context.xml과 applicationContext.x..
- Total
- Today
- Yesterday
- tomcat
- Codable
- ios
- Spring
- Xcode
- Windows
- Kotlin
- golang
- go
- Python
- Gradle
- CentOS
- php
- nodejs
- rxswift
- android
- intellij
- Linux
- MySQL
- docker
- github
- ubuntu
- cocoapods
- Java
- windows10
- war
- git
- SWIFT
- enum
- centos8
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |