大致的層級分別分為以下四層;
視圖層:View層 → 表現層(springMVC):Controller層(Handler層):→ 業務層(Spring):Service層 → 持久層(Mybatis):Dao層(Mapper層)
1) View層與Controller層聯系緊密;
2) Service層與Dao層代碼設計可更加模塊化,提高代碼復用率,降低耦合性;
大致的層級分別分為以下四層;
視圖層:View層 → 表現層(springMVC):Controller層(Handler層):→ 業務層(Spring):Service層 → 持久層(Mybatis):Dao層(Mapper層)
1) View層與Controller層聯系緊密;
2) Service層與Dao層代碼設計可更加模塊化,提高代碼復用率,降低耦合性;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。