Service

· Spring
VO객체를 만들어 JSON으로 출력을 하다보면 상황에 따라 필요 없는 값을 모두 보여준다. 기본적인 스프링 MVC 구조를 예를 들어보겠다! /* VO */ public class BoardVO { private String id; private String title; private String contents; private String link; /* Getter */ /* Setter */ /* ToString */ } /* DAO */ @Repository public class BoardDAO { @Autowired private SqlSession session; private String namespace = "com.xxx.xxx.xxx.mapper."; public List selectB..
공모
'Service' 태그의 글 목록