推荐
专栏
教程
课程
飞鹅
本次共找到3706条
spring框架
相关的信息
Stella981
•
3年前
Spring Boot 实战 —— 入门
本文Blog地址:SpringBoot实战——入门(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fmichael728.github.io%2F2019%2F07%2F07%2Fspringboothelloworld%2F)简介目前没有系统
Stella981
•
3年前
Spring Boot 集成Dubbo
最近学习了一下dubbo的集成使用,之所以对这个产生兴趣,是因为公司的系统有秒杀的高并发业务,采用了多服务器分布式部署的方式,但是各个服务器之间的调用是在代码里采用http请求的方式。虽然这种方式能达到效果,但是代码冗长,处理起来很不方便,总之就是觉得low,所以决定学习一下dubbo。 学习dubbo之前,我们先要了解一下z
Stella981
•
3年前
Spring Cloud Config Server
SpringCloudConfigServer<parent<groupIdorg.springframework.cloud</groupId<artifactIdspringcloudstarterparent</artifactId<versionAngel.SR4</version</parent<depe
Stella981
•
3年前
Spring Boot Tomcat配置
!(http://uploadimages.jianshu.io/upload_images/5954965cdda4d2ac0ce4c85.png?imageMogr2/autoorient/strip%7CimageView2/2/w/1240)参数配置容器server.xx开头的是所有servlet容器通用的配置,ser
Stella981
•
3年前
Spring boot整合Hikari
Hikari简介Hikari是一款非常强大,高效,并且号称“史上最快连接池”。并且在springboot2.0之后,采用的默认数据库连接池就是Hikari。不需要引入依赖,已经在SpringBoot中包含了。 GitHub地址(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2
Stella981
•
3年前
Spring Boot Actuator监控
1、简介 springboot有四大杀器:starters、autoConfiguration、cli、actuator。actuator是springboot对应用的监控组件,可以查看应用系统的配置、资源使用等统计功能。2、actuator主要功能HTTP方法路径描述鉴权默认可以用备注GET/autoconfi
Wesley13
•
3年前
1:dubbo集成spring
dubbo源码地址(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Falibaba%2Fdubbo)查找解析类DubboBeanDefinitionParserdubbo通过spring提供的自定义namespace来解析自己定义的标签,读取META
Stella981
•
3年前
Spring Boot 异常处理
默认异常处理机制SpringBoot根据发送请求头中的accept是否包含text/html来分别返回不同的响应信息。当从浏览器地址栏中访问应用接口时,请求头中的accept便会包含text/html信息,产生异常时,SpringBoot通过org.springframework.web.servlet.ModelAndView对象
Stella981
•
3年前
Spring @ModelAttribute注解用法
之前项目中并自己并没有怎么使用到过@ModelAttribute这个注解,接手一个老项目的时候发现项目中大量使用@ModelAttribute这个注解,在这里就整理下这个注解常用的方式,也为自己做个记录,以免久了不用又忘记了@ModelAttribute使用大致有有两种,一种是是直接标记在方法上,一种是标记在方法的参数中,两种标记方法产生的效果也各不相
Stella981
•
3年前
Spring 单元测试
环境配置在Gradle或者Maven中添加Springtest创建类packagecom.hava.tactic.xml.access.repository;importcom.hava.tactic.sthpw.entity.LoginGroup;importcom.hava.tactic.sth
1
•••
104
105
106
•••
371