美文网首页
MVC pattern My Database Applicat

MVC pattern My Database Applicat

作者: Zihowe | 来源:发表于2017-07-26 04:31 被阅读12次

    My Database Application:

    • Designed and implemented a database application that support CRUD operations on students’ information.
    • Applied MVC pattern with the use of Servlet as controller, JSP as view.
    • Applied DAO pattern with Creation of a java class to communicate with MySQL database and Servlet controller.

    --

    image.png

    *--
    Big Picture

    1. web browser submits a request to our servlet controller(controller)
    2. servet controller make use of helper class called StudentBbUtil
    3. helper class will talk to the DB and data will come back to the controller
    4. servlet controller(controller) forward those data to JSP pages(view) which is our view
    5. finally JSP pages will send view back to browser.
      --

    Student DB Utility

    • communicate with the database with JDBC cod.
      image.png
      --

    相关文章

      网友评论

          本文标题:MVC pattern My Database Applicat

          本文链接:https://www.haomeiwen.com/subject/rycnkxtx.html