클라이언트가 전송한 폼 데이터를 담을 수 있는 자바빈 객체로,
커맨드 객체는 dto라고 볼 수 있다.
Spring MVC에서 지원하는 @ModelAttribute가 붙은 @RequestMapping 메소드의 파라미터의 경우
기본 타입이 아니라면 사용자 정의 클래스로 인식하고 변환해주는데, 이때 사용자 정의 클래스를
스프링에서 Command Object라고 부른다.
'Spring' 카테고리의 다른 글
[Spring]AOP개념, 관련 용어 (0) | 2021.04.15 |
---|---|
[Spring]어노테이션)@Controller,@Repository,@Service,@Component (0) | 2021.04.14 |
[Spring]component-scan, annotation-config 차이점 (0) | 2021.04.08 |
에러) The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path (0) | 2021.04.08 |
[Spring]Mybatis 개념, 특징(+jdbc) (0) | 2021.04.05 |