当前位置:网站首页>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 .
边栏推荐
- Guide for high-end programmers to fish at work
- #夏日挑战赛# HarmonyOS canvas实现时钟
- STM32F1与STM32CubeIDE编程实例-PWM驱动蜂鸣器生产旋律
- 【Hot100】17. Letter combination of telephone number
- 动作捕捉系统用于苹果采摘机器人
- Task. Run(), Task. Factory. Analysis of behavior inconsistency between startnew() and new task()
- Idea start command line is too long problem handling
- 2023 spring recruitment Internship - personal interview process and face-to-face experience sharing
- 【Hot100】20. Valid parentheses
- [SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum
猜你喜欢
Im instant messaging develops a message delivery scheme for 10000 people
【Hot100】20. 有效的括号
ATSS:自动选择样本,消除Anchor based和Anchor free物体检测方法之间的差别
C#/VB. Net merge PDF document
Problems encountered in IM instant messaging development to maintain heartbeat
嵌入式开发:5个修订控制最佳实践
【Hot100】17. 电话号码的字母组合
Introduction to RT thread env tool (learning notes)
ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods
[IDM] IDM downloader installation
随机推荐
Comment win11 définit - il les permissions de l'utilisateur? Win11 comment définir les permissions de l'utilisateur
Seata中1.5.1 是否支持mysql8?
Five years after graduation, I became a test development engineer with an annual salary of 30w+
分享在大疆DJI(深圳总部)工作的日常和福利
接口测试框架中的鉴权处理
【开源数据】基于虚拟现实场景的跨模态(磁共振、脑磁图、眼动)人类空间记忆研究开源数据集
Samsung took the lead in putting 3nm chips into production, and Shanghai's fresh master students can settle directly. Nankai has established a chip science center. Today, more big news is here
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
STM32F1与STM32CubeIDE编程实例-PWM驱动蜂鸣器生产旋律
AVL 平衡二叉搜索树
SQLServer查询: a.id与b.id相同时,a.id对应的a.p在b.id对应的b.p里找不到的话,就显示出这个a.id和a.p
大龄测试/开发程序员该何去何从?是否会被时代抛弃?
搜索框和按钮缩放时会有缝隙的bug
[daily news]what happened to the corresponding author of latex
There will be a gap bug when the search box and button are zoomed
Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
Principle of motion capture system
2022-07-01日报:谷歌新研究:Minerva,用语言模型解决定量推理问题
运动捕捉系统原理
嵌入式开发:5个修订控制最佳实践