For the original and more articles, please see the Personal Blog: http://heartlifes.com
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 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
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
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
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"
Posted on Mon, 11 Feb 2019 21:48:19 -0500 by ragefu
@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
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
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:
Posted on Sun, 10 Feb 2019 15:12:19 -0500 by csueiras
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"?>
Posted on Sun, 10 Feb 2019 09:48:18 -0500 by anolan13
Load balancing: http://www.cnblogs.com/guoyansi 19900907/p/8717746.html
redis installation: http://www.cnblogs.com/guoyansi 19900907/p/8706856.html
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Posted on Sun, 10 Feb 2019 07:00:19 -0500 by LiamH