Summary of java summer vacation learning (13) - - response & request
Request
1. Principle of request object and response object
Request and response objects are created by the server. Let's use them.
2. The request object is to get the request message, and the response object is to set the response message.
Request Object Inheritance Architecture:
ServletRequest ...
Posted by Hoangsta on Tue, 23 Jul 2019 00:16:12 -0700
Automatically listen to delete invalid orders (quartz)
Reprint: https://blog.csdn.net/menghuanzhiming/article/details/77744267Task requirements:
Close overtime unpaid orders and invalidate order information
Related technologies:
Quatz Framework Timing Scheduling
Realization ideas:
1. When the service starts, query the order data in the database which has ...
Posted by cody44 on Mon, 22 Jul 2019 23:16:15 -0700
Spring Boot Auto-configuration
In this chapter, we will reveal the Spring Boot Auto Configuration mechanism for you. When we talk about auto-configuration, we can't do without the @Enable AutoConfiguration annotation.
package org.springframework.boot.autoconfigure;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@AutoConfigurationPackage ...
Posted by Vbabiy on Mon, 22 Jul 2019 20:05:06 -0700
spring Framework Learning - Personal Case ioc (xml), adding transfer methods, and demonstrating transactions
1. Based on: https://www.cnblogs.com/ccoonngg/p/11223340.html
2. Add transfer method to AccountService interface
/**
* Transfer accounts
* @param sourceId Transfer account
* @param targetId Transfer to account
* @param money Transfer amount
*/
void transfer(int sourceId,int targetId,float money); ...
Posted by lucidpc on Mon, 22 Jul 2019 10:44:27 -0700
Hadoop Cluster Build-04 Installation Configuration HDFS
Hadoop cluster build-03 compile and install Hadoop
Hadoop Cluster Build-02 Installation Configuration Zookeeper
Preparations for Hadoop Cluster Building-01
HDFS is a distributed file system used with Hadoop, which is divided into two parts.
namenode: nn1.hadoop nn2.hadoop
datanode: s1.hadoop s2.hadoop s3.hadoop
(If you can't understand th ...
Posted by Chevy on Mon, 22 Jul 2019 03:49:20 -0700
RHCS (High Availability Cluster Building and Graphical Management on Enterprise 6)
1. Encapsulation and snapshot creation of RHEL 6.5
## Since the specific encapsulation steps are consistent with those of RHEL version 7.5, the repetitive contents are not redundant, but the different operations are simply explained.
(1) configure ip, gateway, DNS, host name and local resolution
(2) T ...
Posted by Drakkie on Mon, 22 Jul 2019 03:48:18 -0700
Automatic Generation of Activi7 Foundations and Tables
Workflow: With the help of computer, it can realize automatic control of process.
Workflow systems: If a system has automated management of processes, it is called workflow systems.BPM(Business Process Management): Business Process ManagementBPMN(Business Process Model And Notation): Business Process ...
Posted by pbarney on Mon, 22 Jul 2019 01:02:10 -0700
How Ribbon customizes client and global configurations
cause
The reason for this is that to implement grayscale routing based on Zuul Gateway within the company and to perform grayscale tests when online, you need to configure metadata metadata registered with Eureka by Business Micro Services and customize Ribbon's load rules to access grayscale services only.This requires customizing Ribbon's IRu ...
Posted by Jumba on Sun, 21 Jul 2019 19:48:27 -0700
Spring Cloud (Finchley Version) Tutorial: Registration and Discovery of Services Eureka
Introduction to spring cloud
The current version of spring cloud has been updated to Finchley, which supports Springbott version 2.0 or more. The specific version can refer to the table below.
Cloud code
Boot version (train)
Boot version (tested)
lifecycle
Angle
1.2.x
incompatible with 1.3
EOL in July 2017
Brixton
1.3.x
1.4.x
20 ...
Posted by khanuja.sunpreet on Sat, 20 Jul 2019 18:47:51 -0700
Jmeter+Jenkins+Ant Interface Automation Test Platform Build (Mac) Output Test Report
1. First, copy the jar package ant-jmeter-1.1.1 under apache-jmeter-3.2 extras to ant's lib directory
Copy it to the lib file in your installation ant directory (not here)
/usr/local/Cellar/ant/1.10.6/libexec/lib
Tip: If you can't find the path after downloading ant, you can enter the command at ...
Posted by ManicMax on Fri, 19 Jul 2019 03:11:04 -0700