add springframework for project in pom.xml
new spring config applicationContext.xml
add jdbc bean and item bean in applicationContext.xml
add no arg constructor to BoughtItem Class
add boughtItem bean in applicationContext.xml
add promotion bean in applicationContext.xml
add jdbcTemplate filed and constructor
add itemDao bean in applicationContext.xml
add Setter for Item Class
add jdbcTemplate filed and jdbcTemplate Setter to PromotionDao class
update PromotionDao Class
add a promotionDao bean in applicationContext.xml
update ItemDao and applicationContext
update ItemDao Class
add setter to ItemService Class
add itemService bean in applicationContext.xml
delete uesless code
add boughtItemService bean in applicationContext.xml
new applicationContext in App CLass