Stella981的头像 ID: 10708576052

Stella981

HelloWorld 社区成员

Stella981

文章16974
个人网站0
加入社区2026

SpringBoot 项目使用编程式事务

1\.创建事务配置,使用的是 TransactionTemplate@SpringBootConfigurationpublicclassTransactionConfig{@BeanpublicTransactionTemplatetransactionTemplate(Data

SpringBoot 集成Netty实现UDP Server

注:ApplicationRunner接口是在容器启动成功后的最后一步回调(类似开机自启动)。UDPServerpackagecom.vmware.vCenterEvent.netty;importio.netty.bootstrap.Bootstrap;importio.netty.ch

SpringBoot 集成Mybatis 连接Mysql数据库

记录SpringBoot集成Mybatis连接数据库防止后面忘记1.添加Mybatis和Mysql依赖      <dependency    <groupIdorg.mybatis.spring.boot</groupId    <artifactIdmybatisspringbootst

SpringBoot 配置类解析

本文首发于vivo互联网技术微信公众号链接:https://mp.weixin.qq.com/s/NvPO5FWLiOlrsOf4wLaJA(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fmp.weixin.qq.com%2Fs%2FNvPO5FWLiOlrsOf

SpringBoot 配置文件与依赖库分离打包配置

一、应用场景一般情况下我们对springboot应用打包时使用springboot的maven插件springbootmavenplugin的maven进行打包,打包完成得到一个fatjar,fatjar的优点是可以直接运行,缺点是体积太大,不利于传输,springboot应用打出来的fatjar体积少则几十M,多则上百M,在往服务器部署传

SpringBoot 跨域 Access

https://blog.csdn.net/taoism\_jerry/article/details/79695336\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

SpringBoot 读取properties配置文件 @Value使用 中文乱码问题

一,idea中配置文件中文乱码问题使用idea开发,读取properites配置文件配置:app菜单没有限制,所有人都可访问的菜单menu.unlimited订单审批,现场尽调,合作贷审批客户经理菜单menu.customerManager建档,订单申请,提款申请Config

SpringBoot 系列

!(https://oscimg.oschina.net/oscnet/91e3b313ad6255cd08278ad8800b84b0e62.gif"键盘动图引导关注")SpringBoot使用CommonsLogging进行所有内部日志记录,但保留底层日志实现。为JavaUtilLogging、Log4J2和Lo

SpringBoot 简介

什么是SpringBoot    SpringBoot是一种全新的框架,目的是为了简化Spring应用的初始搭建以及开发过程。该框架使用特定的方式(集成starter,约定优于配置)来进行配置,从而使开发人员不需要再定义样板化的配置。SpringBoot提供了一种新的编程范式,可以更加快速便捷地开发Spring

SpringBoot 的过滤器 Filter 配置的三种方式

SpringBoot过滤器配置有三种方式1\.@ServletComponentScan@WebFilter,可配置过滤路径,但没有顺序(顺序是由过滤器命名决定)在启动类上使用 @ServletComponentScan,在过滤器类上使用 @WebFilter(urlPatterns{"/test/path"})

SpringBoot 深度调优,JVM 调优(深度好文)

!(https://oscimg.oschina.net/oscnet/a6bb2fbe1d0246a2b44a0fb01d4071ef.jpg)作者:星朝cnblogs.com/jpfss/p/9753215.html项目调优作为一名工程师,项目调优这事,是必须得熟练掌握的事情。

SpringBoot 深度调优,JVM 调优教程

编辑:业余草来源:https://www.xttblog.com/?p4937项目调优作为一名工程师,项目调优这事,是必须得熟练掌握的事情。在SpringBoot项目中,调优主要通过配置文件和配置JVM的参数的方式进

SpringBoot 核心配置

1\.入口类和@SpringBootApplication  SpringBoot的项目一般都会有\Application的入口类,入口类中会有main方法,这是一个标准的Java应用程序的入口方法。  @SpringBootApplication注解是SpringBoot的核心注解,它其实是一个组合注解:  !(https

SpringBoot 无侵入式实现 API 接口统一 JSON 格式返回

点击上方一个优秀的废人,选择设为星标优质文章,及时送达来源:blog.csdn.net/qq\_34347620/article/details/102239179无侵入式统一返回JSON格式其实本没有没打算写这篇博客的,但还是要写一下写这篇博客的起因是因为,现在呆着的这家公司居然没有统一的API返回格式?,询

SpringBoot 整合Filter

SpringBoot整合Filter一、创建基础SpringBoot项目,集成Web即可<dependency\<groupId\org.springframework.boot</groupId\<a

SpringBoot 整合 caffeine

1、pom加入<!https://mvnrepository.com/artifact/org.springframework.boot/springbootstartercache<dependency<groupIdorg.springfra