Rewrite Netbeans E-commerce tutorial using Spring framework