搜索
您的当前位置:首页正文

MVC pattern My Database Applicat

来源:哗拓教育

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
    --
Top