当前位置:网站首页>SSM integration preliminary details
SSM integration preliminary details
2022-06-13 10:42:00 【ahyo】
newly build maven project Import necessary dependencies Create a database and its tables Connect to database
Java Basic structure and configuration framework
Profile framework :
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
</configuration>
Be careful : label <!DOCTYPE This is followed by the designation of the xml Why are files configured For example mapper Resource configuration of binding or superior
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
bean.xml Specific framework :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
">
</beans>
spring_config.xml spring Configure basic framework :
The specific details SSM project
MyBatis_config.xml frame :
<?xml version="1.0" encoding="UTF8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<!-- Configure core files -->
<configuration>
<mapper></mapper>
</configuration>
边栏推荐
- 在 Kubernetes 集群上部署 VSCode
- Idea life extension plug-in
- 2022年劳务员-通用基础(劳务员)上岗证题目及答案
- Sunyuchen, head of Grenada delegation, attended the WTO MC12 and emphasized the development of digital economy
- [bearing fault decomposition] ITD bearing fault signal decomposition based on MATLAB [including Matlab source code 1871]
- Electrolytic capacitor, tantalum capacitor, ordinary capacitor
- China SaaS industry panorama
- Node red series (25): integrate Gaode map and realize 3D map and track playback
- Actual combat simulation │ real time error alarm of enterprise wechat robot
- 等个有“源”人|OpenHarmony 成长计划学生挑战赛报名启动
猜你喜欢

On the exploitation of a horizontal ultra vires vulnerability

中国SaaS产业全景图谱

Necessary for Architects: system capacity status checklist

Node red series (24): use MySQL nodes in node red to add, delete, modify and query databases

Oracle custom data type question

Electrolytic capacitor, tantalum capacitor, ordinary capacitor

技术管理进阶——管理者可以使用哪些管理工具

Brief request process

文件夹数据同步工具Sync Folders Pro

Idea life extension plug-in
随机推荐
Understand an article: Spark operation mode
软件测试常问,你真的会搭建测试环境吗?
【ELM分类】基于粒子群优化卷积神经网络CNN结合极限学习机ELM实现数据分类附matlab代码
go path包
Actual combat simulation │ real time error alarm of enterprise wechat robot
Necessary for Architects: system capacity status checklist
Redis初始安装和使用【玩转华为云】
Big O notation interpretation
Develop a basic module with low code
Cynthia項目缺陷管理系統
网传互联网公司加班表,排名第一的没有悬念!
Cynthia project defect management system
计算循环冗余码--摘录
C# 文件打包下载
flutter简单优秀的开源dialog使用free_dialog
数据库学习笔记(第十六章)
Understanding RPC and rest
Install Kubernetes 1.24
Brief introduction of class file structure and class loading process execution engine
一文读懂pgstat【这次高斯不是数学家】