当前位置:网站首页>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 .
边栏推荐
- ThinkPHP kernel work order system source code commercial open source version multi user + multi customer service + SMS + email notification
- I'm a senior test engineer who has been outsourced by Alibaba and now has an annual salary of 40w+. My two-year career changing experience is sad
- The Department came to a Post-00 test paper king who took out 25K. The veteran said it was really dry, but it had been
- ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods
- 电脑屏幕变色了怎么调回来,电脑屏幕颜色怎么改
- 【Hot100】17. 电话号码的字母组合
- Win11如何設置用戶權限?Win11設置用戶權限的方法
- [open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes
- Microservice tracking SQL (support Gorm query tracking under isto control)
- [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
猜你喜欢
![[daily news]what happened to the corresponding author of latex](/img/0f/d19b27dc42124c89993dee1bada838.png)
[daily news]what happened to the corresponding author of latex
![[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](/img/a4/58b942d1389834069e9a6ec9f8ee0a.png)
[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

Please, stop painting star! This has nothing to do with patriotism!

电脑照片尺寸如何调整成自己想要的

运动捕捉系统原理

嵌入式开发:5个修订控制最佳实践

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

Some abilities can't be learned from work. Look at this article, more than 90% of peers

Huawei issued hcsp-solution-5g security talent certification to help build 5g security talent ecosystem

Pico, can we save consumer VR?
随机推荐
Seata中1.5.1 是否支持mysql8?
Automatic, intelligent and visual! Deeply convinced of the eight designs behind sslo scheme
The Department came to a Post-00 test paper king who took out 25K. The veteran said it was really dry, but it had been
Nuxt.js数据预取
Zero copy technology of MySQL
搜索框和按钮缩放时会有缝隙的bug
Crypto Daily:孙宇晨在MC12上倡议用数字化技术解决全球问题
2023 spring recruitment Internship - personal interview process and face-to-face experience sharing
Vscode find and replace the data of all files in a folder
Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
Pico, do you want to save or bring consumer VR?
[open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes
IM即时通讯开发万人群聊消息投递方案
自动、智能、可视!深信服SSLO方案背后的八大设计
One revolution, two forces, three links: the "carbon reduction" roadmap behind the industrial energy efficiency improvement action plan
学会了selenium 模拟鼠标操作,你就可以偷懒点点点了
【开源数据】基于虚拟现实场景的跨模态(磁共振、脑磁图、眼动)人类空间记忆研究开源数据集
Embedded development: five revision control best practices
Motion capture system for apple picking robot
Problems encountered in IM instant messaging development to maintain heartbeat