SpringBoot
文章平均质量分 91
发自己的光就好
封
展开
-
SpringBoot(整合阿里数据源,sql监控,整合mybatis以及案例)
这里写目录标题SpringBoot整合阿里数据源SpringBoot整合mybatisSpringBoot整合mybatis案例:SpringBoot整合阿里数据源导入阿里数据源jar<dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.10</version><原创 2021-12-26 20:31:51 · 914 阅读 · 0 评论 -
SpringBoot(配置文件,自动配置,集成JDBC)
这里写目录标题SpringBoot配置文件SpringBoot自动配置SpringBoot集成JDBCSpringBoot配置文件Spring Boot 使用一个全局的配置文件(配置文件名是固定的)application.properties 属性文件格式,内容为键值对server.port=8080application.ymlyml 是 YAML(YAML Ain’t Markup Language)语言的文件,以数据为中心.yml 配置示例server:port: 8080y原创 2021-12-24 23:06:59 · 1101 阅读 · 0 评论 -
SpringBoot(概述,特点,开发环境搭建以及第一个helloWord)
这里写目录标题Spring Boot回顾springSpring Boot概述SpringBoot特点Spring Boot开发环境构建Spring Boot helloWorldSpring Boot回顾spring优点:开源,轻量级,非侵入式的一站式框架,简化企业级开发。控制反转(IOC),依赖注入(DI)降低了组件之间的耦合性,实现了各软件之间的解耦。面向切面(AOP),利用它可以很容易实现一些拦截,如事务控制等spring对于主流的应用框架有很好的支持 如:mybatisspr原创 2021-12-24 21:13:10 · 1271 阅读 · 0 评论