当前位置:网站首页>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 .
边栏推荐
- 【Hot100】20. Valid parentheses
- [pyGame practice] do you think it's magical? Pac Man + cutting fruit combine to create a new game you haven't played! (source code attached)
- 【Hot100】19. 删除链表的倒数第 N 个结点
- How long will it take to achieve digital immortality? Metacosmic holographic human avatar 8i
- In the past six months, it has been invested by five "giants", and this intelligent driving "dark horse" is sought after by capital
- [IDM] IDM downloader installation
- #夏日挑战赛# HarmonyOS canvas实现时钟
- How does win11 set user permissions? Win11 method of setting user permissions
- Automatique, intelligent, visuel! Forte conviction des huit conceptions derrière la solution sslo
- Learn selenium to simulate mouse operation, and you can be lazy a little bit
猜你喜欢
全面看待企业数字化转型的价值
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
最新NLP赛事实践总结!
MySQL的零拷贝技术
电脑照片尺寸如何调整成自己想要的
ADS算力芯片的多模型架构研究
Comment utiliser le langage MySQL pour les appareils de ligne et de ligne?
【Hot100】17. 电话号码的字母组合
智慧党建: 穿越时空的信仰 | 7·1 献礼
Hardware development notes (9): basic process of hardware development, making a USB to RS232 module (8): create asm1117-3.3v package library and associate principle graphic devices
随机推荐
【LeetCode】43. String multiplication
Crypto Daily:孙宇晨在MC12上倡议用数字化技术解决全球问题
全面看待企业数字化转型的价值
Motion capture system for apple picking robot
#夏日挑战赛# HarmonyOS canvas实现时钟
How to write good code - Defensive Programming Guide
Telecommuting experience? Let's introduce ourselves ~ | community essay solicitation
[200 opencv routines] 216 Draw polylines and polygons
Action after deleting laravel's model
2022-07-01日报:谷歌新研究:Minerva,用语言模型解决定量推理问题
Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
[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
picgo快捷键 绝了这人和我的想法 一模一样
Pocket Network为Moonbeam和Moonriver RPC层提供支持
[daily question] 1175 Prime permutation
【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
Hardware development notes (9): basic process of hardware development, making a USB to RS232 module (8): create asm1117-3.3v package library and associate principle graphic devices
Idea start command line is too long problem handling
Advanced cross platform application development (24): uni app realizes file download and saving
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist