title: How MVC web application works in java?
body: <h3>As we define view,controller,service and Dao layer in application then how data flow in between them.</h3>
  e.g. suppose we add struts,spring,hibernate,etc. jars in project then how they work together?