当前位置:网站首页>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 .
边栏推荐
- 一次革命、两股力量、三大环节:《工业能效提升行动计划》背后的“减碳”路线图...
- Where should older test / development programmers go? Will it be abandoned by the times?
- Summer Challenge harmonyos canvas realize clock
- C#/VB. Net merge PDF document
- DO280管理应用部署--pod调度控制
- How does win11 set user permissions? Win11 method of setting user permissions
- Learn selenium to simulate mouse operation, and you can be lazy a little bit
- AVL balanced binary search tree
- 马来西亚《星报》:在WTO MC12 孙宇晨仍在坚持数字经济梦想
- Automatic, intelligent and visual! Deeply convinced of the eight designs behind sslo scheme
猜你喜欢
![[每日一氵]Latex 的通讯作者怎么搞](/img/0f/d19b27dc42124c89993dee1bada838.png)
[每日一氵]Latex 的通讯作者怎么搞

超视频时代,什么样的技术会成为底座?

基于PHP的轻量企业销售管理系统

HR interview: the most common interview questions and technical answers

Pico, do you want to save or bring consumer VR?

How to use MySQL language for row and column devices?

Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist

【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和

韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯

Malaysia's Star: Sun Yuchen is still adhering to the dream of digital economy in WTO MC12
随机推荐
近半年内连获5家“巨头”投资,这家智能驾驶“黑马”受资本追捧
2022 Moonriver全球黑客松优胜项目名单
[每日一氵]Latex 的通讯作者怎么搞
【IDM】IDM下载器安装
Where should older test / development programmers go? Will it be abandoned by the times?
Learn selenium to simulate mouse operation, and you can be lazy a little bit
MySQL的零拷贝技术
揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项
Motion capture system for apple picking robot
AVL balanced binary search tree
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Please, stop painting star! This has nothing to do with patriotism!
Go language learning notes - Gorm use - table addition, deletion, modification and query | web framework gin (VIII)
马来西亚《星报》:在WTO MC12 孙宇晨仍在坚持数字经济梦想
Huawei issued hcsp-solution-5g security talent certification to help build 5g security talent ecosystem
Smart Party Building: faith through time and space | 7.1 dedication
Pico, can we save consumer VR?
Can't global transactions be used when shardingjdbc is used in seate?
【Hot100】19. 删除链表的倒数第 N 个结点
IM即时通讯开发实现心跳保活遇到的问题