Vert.x Notes: 5.vert.x Integrated dubbo Service

For the original and more articles, please see the Personal Blog: http://heartlifes.com vert.x Basic introduction: dubbo is the rpc remote invocation framework within alibaba, seamlessly docking with spring, with its own load balance, is a powerful tool to build soa Service architecture. unfortunately, in the internal struggle in alibaba, h ...

Posted on Wed, 13 Feb 2019 01:57:18 -0500 by Bozebo

Spring 4.3.x Analysis of xml configuration parsing process (11) - parsing scoped-proxy tags in aop namespaces

Summary Spring provides three solutions for long-lived beans to call short-lived beans. The first is to use the < look-up > tag of the default namespace (beans); the second is to use the < context: component-scan > of the context namespace to parse @Scope annotations; and the third is to use the < aop: scoped-proxy > tag of ...

Posted on Tue, 12 Feb 2019 12:57:18 -0500 by stry_cat

Solve com.atomikos.icatch.RollbackException: Prepare: NO vote

With atomikos, the default transaction timeout time is 100,000 milliseconds, beyond which the commit transaction throws an exception com.atomikos.icatch.RollbackException: Prepare: NO vote. Today, I finally found the answer through bing and recorded it. In the case of integrating Spring, the first time I thought about configuring the properti ...

Posted on Tue, 12 Feb 2019 04:21:18 -0500 by salih0vicX

Spring+Spring MVC+Mybatis+PostgreSQL+Bootstrap Initial Integration

Spring+Spring MVC+Mybatis+PostgreSQL+Bootstrap Initial Integration Database: PostgreSQL version 10.x Visualization tool: pgAdmin4 This blog mainly records a simple framework built by Xiao Shuai-mei for future study and future use of this platform to complete some simple and repetitive work. The tool is MyEclipse 2015CI Each jar version d ...

Posted on Tue, 12 Feb 2019 00:30:17 -0500 by weaselandalf

Spring 4 - Automatically assemble Beans-@Qualifier, assemble specified beans

1. Create a Maven project with the project name springdemo21, as shown in the figure2. Configure Maven and modify the pom.xml file in the project. The modifications are as follows<project xmlns="http://maven.apache.org/POM/4.0.0"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:schemaLocation="http://maven.apache.or ...

Posted on Mon, 11 Feb 2019 21:48:19 -0500 by ragefu

Spring, Spring Boot and TestNG Test Guide @TestProperty Source

Github address @TestPropertySource It can be used to override system environment variables, Java system attributes, and @PropertySource Properties. At the same time, @TestPropertySource(properties=...) has a higher priority than @TestPropertySource(locations=...). With it, we can easily fine-tune and simulate the configuration in the test code ...

Posted on Mon, 11 Feb 2019 13:12:19 -0500 by spicey

Spring MVC4+MyBatis+SQL Server 2014 implements read-write separation based on SqlSession (also can achieve master-slave separation)

Preface I think the use of interceptors is convenient and fast, but you can't control the use of read or write strings. I hope that we can control my use of read and write strings manually like jdbc. Then this article realizes the separation of read and write on the basis of SQL ession, which requires the manual implementation of daoImpl.   ...

Posted on Mon, 11 Feb 2019 01:39:19 -0500 by slewis1959

org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end tag "</meta>".

Preface: Recently, in learning spring boot, spring boot recommended using thymeleaf as a view, so I read the book and wrote a case to run well. Error reporting: org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end tag "</meta>". Cause Analysis of Error Reporting: The ...

Posted on Sun, 10 Feb 2019 15:12:19 -0500 by csueiras

[Spring] 28. Java-based configuration @Configuration and @Bean usage in Spring. Instead of xml configuration files

In Spring, to reduce configuration in xml, you can configure bean s with a configuration class (such as Spring Config). First, you need a small amount of configuration in xml to start Java configuration:   <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3 ...

Posted on Sun, 10 Feb 2019 09:48:18 -0500 by anolan13

session sharing + maven management of spring MVC + mybatis + redis

Load balancing: http://www.cnblogs.com/guoyansi 19900907/p/8717746.html redis installation: http://www.cnblogs.com/guoyansi 19900907/p/8706856.html File format: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0 ...

Posted on Sun, 10 Feb 2019 07:00:19 -0500 by LiamH