Appearance pattern of java design pattern (facade pattern)
For appearance mode, it is very frequent in project development and practical application, but it is very easy to understand. Here is a brief introduction.
I. concept introduction
Facade, which hides the complexity of the system and provides the client with an interface to access the system. This type of design pattern belongs to structural pat ...
Posted by sharapov on Sun, 03 Nov 2019 02:30:08 -0800
Data structure - bus line prompt system (Java background + excel table + web front end)
General process of the system:
index.jsp input the station name (click "show site information", jump to list.jsp to read the table);Background obtains id through station name; getIdbyname(String name)The id is fed back to dijkstra(int vs,int vf) to find the shortest path and the vertex on the path (read the document to get the Graph) ...
Posted by Francky683 on Sat, 02 Nov 2019 18:01:02 -0700
flink dynamic broadcast status
flink dynamic broadcast status notes
1. outline
Often we need dynamic matching rules when doing the flink task calculation, but we can't redeploy the service every time we modify it, so we need to use the dynamic broadcast state mechanism of flink to deal with our rule changes in real time. ...
Posted by spectsteve7 on Sat, 02 Nov 2019 17:44:14 -0700
spring cloud microservice architecture b2b2c e-commerce Spring + spring MVC + Kafka distributed message middleware integration scheme
E-commerce platform source code Please add Penguin: 103874626. kafka message platform uses spring+kafka integration scheme, details are as follows:
Use the maximum version 2.1.0.RELEASE integration jar package: Spring integration Kafka
Zookeeper and Kafka distributed clusters use init.properties configuration schem ...
Posted by benW on Sat, 02 Nov 2019 11:38:05 -0700
Nexus upload deployment component
If uploading on the windows command line:
You need to set it in the global setting.xml file:
setting The configuration is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi: ...
Posted by brauchii on Fri, 01 Nov 2019 20:54:37 -0700
The windowing function of Spark
I. Introduction
The window function row ou number() is a function that groups one field and then takes the first values sorted by another field, which is equivalent to grouping topN. If a windowing function is used in the SQL statement, the SQL statement must be executed with HiveContext.
II. Code practice [use HiveContext]
package big.dat ...
Posted by nezbo on Fri, 01 Nov 2019 16:08:24 -0700
Form form submission under struts 2, action needs to add project name to solve the problem
Form form submission under struts 2, action needs to add project name to solve the problem
This is a test form for me to test whether struts 2 works normally.
index.jsp:
<form action="/loginManage" method="post">
<input type="text" name="username">
<input type="password" ...
Posted by cetaces on Thu, 31 Oct 2019 22:52:54 -0700
Nginx build notes
Because the application is in the internal network environment, it can not directly access the external network. However, the requirement is that the application needs to redirect to the external network environment's login QR code for code scanning and login. When processing page redirection, ...
Posted by erme on Thu, 31 Oct 2019 22:20:57 -0700
Talk about dubbo's ClassLoaderFilter
order
This paper mainly studies dubbo's ClassLoaderFilter
ClassLoaderFilter
dubbo-2.7.2/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ClassLoaderFilter.java
@Activate(group = CommonConstants.PROVIDER, order = -30000)
public class ClassLoaderFilter implements Filter {
@Override
public Result invoke(Invoker<?> i ...
Posted by binumathew on Thu, 31 Oct 2019 05:42:07 -0700
Spring Cloud voice client call tool Feign
I. The difference between Ribbon and Feign
Two kinds of client-side calling tools are supported in Spring Cloud:
1. RestTemplate in the Ribbon
The 2. is Feign.
Ribbon: a load balancer based on HTTP and TCP clients
Feign: Spring Cloud Netflix's microservices are exposed in the form of HTTP interfaces, so they can be called by Apache's HttpClient ...
Posted by r3n on Thu, 31 Oct 2019 04:15:09 -0700