MVC pattern My Database Application

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

    --
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容