Learn springboot step by step -- the story of springboot and Druid
Add dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.0</version>
</dependency>
Configure connection pool
# JDBC configuration
spring.datasource.type=com.al ...
Posted by drayfuss on Thu, 28 Nov 2019 20:42:12 +0100
Summary of AOP Learning in Spring Framework
@[toc]
stay Spring Framework Learning 1 The main topics are some overviews of Spring, Spring factories, Spring attribute injection, and the introduction to IOC, the most important of which is IOC. Let's briefly summarize the IOC in the last article:
Then this article mainly talks about another important core in Spring besides IOC: AOP, IOC or ...
Posted by nonaguy on Wed, 27 Nov 2019 01:49:00 +0100
ssm multiple profiles configuring multiple data sources
Dynamic switching of data sources on the Internet can not meet my current application, and switching back and forth will cause performance problems and crash. And it's not a good way to switch notes on a certain method. So think about it at the top level. Here is my configuration:
Initializing multiple spring-mybatis.xml files i ...
Posted by diesel_heart on Tue, 26 Nov 2019 20:54:14 +0100
High availability configuration of Hadoop distributed environment
The previous article introduced Hadoop distributed configuration , but designed to be highly available, this time use zookeeper to configure Hadoop highly available.
1. Environmental preparation
1) modify IP 2) modify the mapping of host name and host name and IP address 3) turn off the firewall 4) ssh password free login 5) create hado ...
Posted by eflopez on Tue, 26 Nov 2019 18:53:08 +0100
Python urllib practical methods, properties, process summary
I. urllib, urllib2, urllib3, requests
In the python 2 of the urlib2 room, python 3 merges urllib and urllib2 into the urllib directory, so Python 3 directly uses urllib.
urllib3 is a tripartite library, which provides functions such as connection pool, client SSL/TLS authentication, file code upload, HTTP redirection, gzip and deflate compres ...
Posted by jakebrewer1 on Tue, 26 Nov 2019 12:51:36 +0100
RESTful Architecture and Practice Refinement Treasure
1. Introduction to concepts
1. REST concepts
REST: (Representational State Transfer) Representational State Transfer, which defines a common access format for resources, is a style of design and development for network applications.
Conceptually, you need to understand the following names:
Resource s
That is, anything you get on the server, a ...
Posted by cyronuts on Mon, 25 Nov 2019 22:57:48 +0100
Unfortunately, Spring Bean initialization / destruction has so many postures
Source: http://1t.click/bfHN
I. Preface
The daily development process sometimes needs to load some resources after the application is started, or release resources before the application is closed. The spring framework provides related functions. Around the Spring Bean life cycle, you can initialize resources in the Bean creation process and ...
Posted by cute_girl on Mon, 25 Nov 2019 21:10:55 +0100
MybatisGenerator extension: Custom comment generator
MybatisGenerator extension: Custom comment generator
I believe you have a certain understanding of the mybatisgenerator. I love and hate it. The code generated by the mybatisgenerator plug-in will generate comments, which are all useless to us. Although it can prevent the generation of comments, it is not good to have no comme ...
Posted by trrobnett on Mon, 25 Nov 2019 20:57:54 +0100
Unfortunately, Spring Bean initialization / destruction has so many postures
Source: http://1t.click/bfHN
I. Preface
The daily development process sometimes needs to load some resources after the application is started, or release resources before the application is closed. The spring framework provides related functions. Around the Spring Bean life cycle, you can initialize resources in the Bean creation process and ...
Posted by Gnub on Mon, 25 Nov 2019 20:17:54 +0100
Axis2 distributes WebService (server and client) I
Although POJO and aar can publish WebService, they are not the most commonly used methods.
The common methods are as follows
Server side
1. Create a web Project (New - > other - > Web - > dynamic web Project)
2. Copy the jar package in axis2-1.7.9\lib to WebContent/WEB-INF/lib /
3. Create services folder under Web ...
Posted by mkoga on Mon, 25 Nov 2019 17:52:58 +0100