@Component("객체명")
<bean id="객체명" class="클래스 위치"></bean>
@Controller, @RequestMapping(value="url 맵핑" method=RequestMethod.GET 또는 POST)
<bean class="~HandlerMapping">
<property name="Mappings">
<props>
<propKey="url맵핑">객체명</prop>
</props>
</property>
</bean>
<bean id="객체명" class="컨트롤러 클래스 위치"></bean>
@Service("객체명"), @Repository("객체명")
<bean id="Service 객체명" class="service 클래스 위치">
<property name="DAO객체명" ref="DAO객체명">
</bean>
<bean id="DAO객체명" class="DAO 위치"/>
@autowired, @Qualifier, @Resource
<constructor-arg value="객체명"(기본자료형 string) 또는 ref="객체명"(클래스, 레퍼런스자료형)>
</constructor-arg>
<property id="객체명" value="객체명" 또는 ref="객체명"></property> // setter함수 있어야 사용가능
<bean id="객체명" class="위치" P:레퍼런스자료형-ref="객체 이름" P:price="270"/> // P namespace
@SessionAttribute("board") + @ModelAttribute("board") BoardVo vo
// (@ModelAttribute("board") BoardVo vo)로 저장된 정보를 Model에서 가져와서 세션에 저장한다.
@RequestParam("~~") // request.getParameter("~~")와 같은역할
@ModelAttribute("~~") // 자료형 앞에 쓰면 ~~라는 이름으로 Model객체에 데이터를 삽입해준다.