title: Is there any online ecommerce project architecture available in java
body: <p>i am new to java design patterns and i am building the ecommerce sit with spring mvc. but i am confused how to write various classes according to patterns.</p>
  
  <p>i don't know where to put authenticate , confirmEmailAddress , addProdctCart , shoppingHistory like functions , </p>
  
  <p>so is there example of any site where i can find how divide the functions in classes</p>