seata seata-server spring server

使用Docker自定义配置部署RustDesk Server

“RustDesk 是一款可以平替 TeamViewer 的开源软件,旨在提供安全便捷的自建方案。” 这是RustDesk官网对自己的描述。 作为一款使用Rust语言开发的开源软件,在为数不多的Rust开发者和数量庞大的Rust学习者中还是有相当的知名度的,并且商业化的RustDesk Pro也是如 ......
RustDesk Docker Server

Spring Boot Actuator 使用和常用配置

转载请注明出处: Spring Boot Actuator是Spring Boot提供的一个非常强大的工具,它可以帮助我们监控和管理我们的Spring Boot应用。Actuator提供了一系列的端点,我们可以通过这些端点来查看我们的应用的运行状态,例如健康状态、指标、信息、数据库连接、Redis连 ......
Actuator 常用 Spring Boot

Spring的BeanDefinition是什么

BeanDefinition是什么? 在Spring框架中,BeanDefinition是描述和定义Spring容器中的Bean的元数据对象。它包含了定义Bean的相关信息,例如Bean的类名、作用域、生命周期等。 BeanDefinition对象通常由Spring容器在启动过程中根据配置信息或注解 ......
BeanDefinition Spring

Mysql访问问题,远程连接提示:Host 'xxx' is not allowed to connect to this MySQL server。是mysql未开启mysql远程访问权限导致

1、MySql服务器共享问题 对于在车间工作者,如果远程Mysql,我们这里假定网线连接 GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.3' IDENTIFIED BY 'mypassword' WITH GRANT OPTION; 允许对应的主机 ......
mysql 权限 allowed connect server

[Spring][Ngbatis源码学习] Spring 的资源管理 ResourceLoader

在学习Ngbatis的源码时,看到了有关xml文件的加载,涉及到了资源的加载,对相关知识进行总结与整理。 1. 相关类 Resource AbstractResource ResourceLoader DefaultResourceLoader ResourcePatternResolver Pat ......

SQL Server 2019 非域&非集群环境创建Always On “只读扩展”

SQLServer 2019开始支持“read-scale for an Always On availability group”,中文翻译的很别扭,是"读取缩放",繁体版翻译为“读取级别”,其特点不依赖于windows的cluster集群以及域,简化了搭建操作步骤和前置条件,与传统的availa ......
集群 环境 Always Server 2019

一、Spring Boot的概述及pom文件和代码实现

一、概述和四大特性 二、学习创建springboot项目 三、项目目录结构和pom文件内容 四、springboot继承springmvc-查看springboot父工程pom 五、代码的实现 ......
代码 文件 Spring Boot pom

【Nacos】启动报错 failed to req API:/nacos/v1/ns/instance after all servers([xxx]) tried: ErrCode:403、NacosException: Client not connected,current status: STARTING

1 com.alibaba.nacos.api.exception.NacosException:failed to req API:/nacos/v1/ns/instance after all servers([xxx]) tried: ErrCode:403, ErrMsg:<html><bo ......

Windows Server Core 文件权限及安全策略设置

1. 修改文件夹权限ACL icacls c:\share /grant everyone:(oi)(ci)(f) /t 2. 修改用户密码策略及其他 导出策略: secedit /export /cfg c:\sec.txt /log c:\sec1.log 修改C:\sec.txt 文件中的以下 ......
权限 策略 Windows 文件 Server

性能测试复习准备——linux环境下安装nacos-server-2.3.0.tar.gz

参考:https://blog.csdn.net/henrin/article/details/130898186 参考:https://blog.csdn.net/weixin_59663288/article/details/125958594?utm_medium=distribute.pc_ ......
nacos-server 性能 环境 server linux

Zulip: Debugging Zulip-Mobile: Server + Android + IOS

https://github.com/abaelhe/zulip https://github.com/abaelhe/zulip-mobile Debugging Seeing what the app is doing is an essential part of development. A ......
Zulip Zulip-Mobile Debugging Android Mobile

Spring循环依赖

Java中的循环依赖分两种: 构造器的循环依赖:就是在构造器中有属性循环依赖,如下所示的两个类就属于构造器循环依赖 @Service public class Student { @Autowired private Teacher teacher; public Student (Teacher ......
Spring

spring boot启动耗时分析-spring-startup-analyzer使用

github地址:https://github.com/linyimin0812/spring-startup-analyzer 1、安装 curl -sS https://raw.githubusercontent.com/linyimin0812/spring-startup-analyzer/ ......

Template Engines for Spring: FreeMarker | Java Server Pages | Thymeleaf | Jade4j

Besides the template engines described so far, there are quite a few more available which may be used. Let’s review some of them briefly. Velocity is ......
FreeMarker Thymeleaf Template Engines Spring

Hyper-V Server 2019 安装VMWare Workstation

管理员命令行运行: bcdedit /set hypervisorlaunchtype off ......
Workstation Hyper-V Server VMWare Hyper

Spring Boot 2.6.1 Error creating bean with name 'formContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]

Error creating bean with name 'formContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigu ......

Seata 启动报错:[imeoutChecker_1] i.s.c.r.netty.NettyClientChannelManager : no available server to connect.

Seata 启动报错:[imeoutChecker_1] i.s.c.r.netty.NettyClientChannelManager : no available server to connect. 1. 问题 2. 解决【application.xml 和 file.conf 参数要相对应】 ......

Spring CSP & Cors: Content Security Policy with Spring Security | Enabling Cross Origin Requests for a RESTful Web Service

* [Spring Security 配置 Content Security Policy(CSP) - spring 中文网](https://springdoc.cn/spring-security-csp/)* [Getting Started | Enabling Cross Origin ......
Security Spring Enabling Requests Content

Spring Cloud Stream

Spring Cloud Stream 官方文档 用法参考文档 官方代码Demo 事件驱动架构(EDA)是一种软件架构范例。事件生产者和事件消费者是 EDA 的两个主要组成部分。生产者的责任是感知任何状态变化并将该状态呈现为事件消息。生产者不知道谁是该事件的消费者以及该事件的结果是什么。事件的传输将 ......
Spring Stream Cloud

spring xml配置文件之context:annotation-config

我们一般在含有Spring的项目中,可能会看到配置项中包含这个配置节点context:annotation-config。 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/sche ......

Spring系列:基于Spring-AOP和Spring-Aspects实现AOP切面编程

目录一、概念及相关术语概念相关术语①横切关注点②通知(增强)③切面④目标⑤代理⑥连接点⑦切入点作用二、基于注解的AOP技术说明准备工作创建切面类并配置各种通知切入点表达式语法重用切入点表达式获取通知的相关信息环绕通知切面的优先级三、基于XML的AOP准备工作实现 一、概念及相关术语 概念 AOP(A ......
Spring 切面 Spring-Aspects Spring-AOP AOP

spring cloud生态中Feign、Ribbon、loadbalancer的一些历史

背景 本意是想写个feign中loadbalancer组件和nacos相遇后,一个兼容相关的问题,后面发现Feign这套东西很深,想一篇文章写清楚很难,就先开一篇,讲历史。 Feign、OpenFeign、Spring Cloud OpenFeign Feign Feign是Java生态中的一个库, ......
loadbalancer 生态 spring Ribbon 历史

code-server go环境

目录docker-compose.ymlDockerfilegvm管理go版本 docker-compose.yml version: '3' services: code-server: build: context: ./code-server/ dockerfile: Dockerfile i ......
code-server 环境 server code

Spring-第四章:Spring注解配置

四、Spring注解配置 1、IoC注解 1.1 常用注解 1.2 数据装配 1.3 其他bean的引用 1.4 集合的装配 1.5 生命周期 1.6 实例化时机 & scope作用域 2、AOP注解 ......
Spring 注解

spring 中的类型转换工具类

在看 org.springframework.data.redis.support.atomic.RedisAtomicInteger 的源码时,发现了 Spring 的一个类型转换的工具类:DefaultConversionService 能够轻松的将 String 类型和其他类型进行相互转换。 ......
类型 工具 spring

Windwos Server 2012 自带的端口转发工具的命令

Windwos Server 2012 自带的端口转发工具的命令 添加: netsh interface portproxy add v4tov4 listenaddress=* listenport=1300 connectaddress=xxx.xxx.xxx.xxx connectport=5 ......
端口 命令 Windwos 工具 Server

Spring-第三章:AOP(面向切面编程)

三、AOP(面向切面编程) 1、AOP & 代理模式 2、动态代理:JDK动态代理和CGLIB技术 2.1 动态代理 2.2 cglib技术 2.3 AOP原理 2.4 案例 3、Spring AOP 1.x配置 3.1 Spring AOP的配置方式 3.2 Spring AOP 1.x (1)前 ......
切面 第三章 Spring AOP

Spring-第二章:IoC容器

二、IoC容器 1、IoC Ioc必须要添加的四个包 2、DI 3、第一个程序 4、IoC容器的类型 5、数据装配 toString方法不是构造方法 不同bean之间的引用使用ref Array:数组 值可重复 Set:集合 值不可重复 Map:键值对 6、bean生命周期 6.1 练习 7、实例化 ......
容器 第二章 Spring IoC

Spring Cloud Gateway的Filter中如果有耗时操作应该如何处理?

1,如果不处理,会大大影响吞吐量; 2,spring cloud gateway是reactive的编码风格,改造代码难度很大,很不习惯; 3,spring cloud gateway使用事件线程处理一个http请求 4,事件线程比较少(参考netty event loop),不能有耗时操作,否则影 ......
Gateway Spring Filter Cloud