当前位置:网站首页>Principle of SSM framework
Principle of SSM framework
2022-07-01 16:13:00 【joker_ zh53】
ssm Frame principle
ssm yes springmvc+spring+mybaits Frame set .
Use spring mvc Responsible for request forwarding and view management ;spring Implement business object management ;mybaits Persistence as data as data objects
Spring MVC
m-> Model
v-> View , Responsible for presenting the data of the model and generating html Output
c->controller, Responsible for handling customer requests , Data response to the front end
DAO layer : It mainly works on the data persistence layer , Responsible for some tasks of contacting the database
1.DAO The design of the layer is first of all design DAO The interface of .
2. And then again Spring The implementation class of this interface is defined in the configuration file of .
3. Then you can call this interface in the module to process data business , You don't need to worry about which implementation class of this interface is , Very clear structure .
4.DAO Data source configuration for layer , And the database connection parameters are spring Configuration in the configuration file .
Service layer : Logical application design of business module
Controller layer : Responsible for the control of specific business module process
View layer : The layer and the Controller The combination is relatively close , We need to combine the two to develop together .View Floor is mainly responsible for the front desk jsp The presentation of the page .
Spring
spring Control all containers
Mybaits
about jdbc Encapsulation , Make the underlying operation of the database transparent .
边栏推荐
- 从大湾区“1小时生活圈”看我国智慧交通建设
- 基于PHP的轻量企业销售管理系统
- There will be a gap bug when the search box and button are zoomed
- Action after deleting laravel's model
- Telecommuting experience? Let's introduce ourselves ~ | community essay solicitation
- Introduction to RT thread env tool (learning notes)
- In the past six months, it has been invested by five "giants", and this intelligent driving "dark horse" is sought after by capital
- Idea start command line is too long problem handling
- 【LeetCode】43. 字符串相乘
- [200 opencv routines] 216 Draw polylines and polygons
猜你喜欢

Zhou Shaojian, rare

Share the daily work and welfare of DJI (Shenzhen headquarters) in Dajiang

The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's eldest disciple

Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知

接口测试框架中的鉴权处理

近半年内连获5家“巨头”投资,这家智能驾驶“黑马”受资本追捧

There is a difference between u-standard contract and currency standard contract. Will u-standard contract explode

ADS算力芯片的多模型架构研究

How to write good code - Defensive Programming Guide

动作捕捉系统用于苹果采摘机器人
随机推荐
电脑照片尺寸如何调整成自己想要的
Im instant messaging develops a message delivery scheme for 10000 people
【每日一题】1175. 质数排列
There is a difference between u-standard contract and currency standard contract. Will u-standard contract explode
普通二本,去过阿里外包,到现在年薪40W+的高级测试工程师,我的两年转行心酸经历...
STM32F1与STM32CubeIDE编程实例-PWM驱动蜂鸣器生产旋律
Idea start command line is too long problem handling
Zhou Shaojian, rare
Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
Pocket Network为Moonbeam和Moonriver RPC层提供支持
MySQL的零拷贝技术
韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
There will be a gap bug when the search box and button are zoomed
马来西亚《星报》:在WTO MC12 孙宇晨仍在坚持数字经济梦想
【Hot100】20. Valid parentheses
2022 Moonriver全球黑客松优胜项目名单
Crypto Daily: Sun Yuchen proposed to solve global problems with digital technology on MC12
Uncover the "intelligence tax" of mousse: spend 4billion on marketing, and only 7 invention patents
从 MLPerf 谈起:如何引领 AI 加速器的下一波浪潮
Solution to the problem that the keypad light does not light up when starting up