본문으로 건너뛰기

"tistory" 태그로 연결된 338개 게시물개의 게시물이 있습니다.

모든 태그 보기

Linux 02

· 약 6분
Seokjae Lee
Software engineer

원문: https://doljae.tistory.com/54

리눅스 프로세스 상태 전이 & 코드​

 [리눅스 프로세스2

이번 글에서는 이전에 리눅스 프로세스에 관한 설명에 추가 내용을 알아보도록 하겠습니다. 이전 리눅스 프로세스 관련 내용은 아래에 링크를 참고 합니다. 2017/08/29 - [서버운영/Linux] - 리눅스

Spring 04

· 약 4분
Seokjae Lee
Software engineer

원문: https://doljae.tistory.com/49

@SpringBootApplication의 정체​

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@SpringBootConfiguration
// Config.xml 의 class 버전인 Config.class를 스캔해서 등록한다
@EnableAutoConfiguration
// context:component-scan
// 반드시 베이스 패키지(MyBootApplication이 있는 패키지)아래에 있어야 bean으로 등록이 된다
@ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class),
@Filter(type = FilterType.CUSTOM, classes = AutoConfigurationExcludeFilter.class) })
public @interface SpringBootApplication {

spring.factories의 정체​

Spring 02

· 약 5분
Seokjae Lee
Software engineer

원문: https://doljae.tistory.com/47

Spring 환경에서 Autowired 테스트​

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:config/springbeans.xml")
public class HelloBeanSpringTest {
// BeanFactory factory = new
// GenericXmlApplicationContext("config/springbeans.xml");
@Autowired
Hello hello;
@Autowired()
Printer printer;
// 이건 에러가 난다
// Printer Bean이 현재 2개 있는데, printer에 어떤 걸 넣어줘야할지 모르겠기 떄문임;

@Autowired
Hello hello;
@Autowired()
Printer strPrinter;
// 이건 잘 작동한다
// Bean은 우선 변수 이름이 같은 Bean을 우선적으로 할당한다

Spring 01

· 약 4분
Seokjae Lee
Software engineer

원문: https://doljae.tistory.com/46

GET, POST​

 [[HTTP] HTTP Method 정리 / GET vs POST 차이점

GET이나 POST는 매우 자주 쓰는 HTTP 메소드들이다. 아마 제일 많이 쓰지 않나 싶다. 근데 정확히 두 개가 어떻게 다른지, 어떤 특징을 가지고 있는지 잘 모르겠어서 정리해보려고 한다. 아래 글들은